~/talk

From Dev to Prod: Securing Postgres the Right Way

Talkat POSETTE: An Event for Postgres 2026 · 2026-06-16..06-18· [security, databases]
slides:none on file

Covers concrete fixes: a CVE-2025 SQL injection caused by overreliance on escapeString and client-side sanitization, plus a case where a malicious public calculate_bonus returns “10_000_000” by abusing a weak search_path and SECURITY DEFINER calls. Shows applied controls: revoke public schema, create app_read/app_write roles, harden search_path to admin, pg_catalog, use pg_hba.conf with hostssl, scram‑sha‑256 and IP whitelist 10.0.0.0/24. Notes Postgres 17’s pg_maintain and safer search_path, incremental backups, and Postgres 18’s OAuth support.

AI-written summary · about

  1. 0:00Music & introduction
  2. 3:06Common PostgreSQL security blind spots
  3. 5:45SQL injection case study breakdown
  4. 8:13Least privilege and role boundaries
  5. 10:25Schema isolation for safer deployments
  6. 12:25How search_path becomes a security risk
  7. 15:02Exploiting security definer functions
  8. 18:16Protecting data in transit and at rest
  9. 22:16Postgres 17 and 18 security upgrades
  10. 25:21Final security checklist and takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.