{"id":"JLSEC-2026-50","aliases":["JLSEC-2026-50"],"related":["CVE-2024-10979"],"kind":"vulnerability","state":"published","title":"Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environme…","summary":"Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH).  That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH).  That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.","format":"markdown","source":"jlsec"}],"published":"2026-04-03T13:27:15.647Z","modified":"2026-07-18T00:00:49.256Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"16.8.0+0"}],"ecosystem":"Julia","package":"LibPQ_jll","purl":"pkg:julia/LibPQ_jll?uuid=08be9ffa-1c94-5ee5-a977-46a84ec9b350","source":"jlsec"}],"references":[{"url":"https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20250110-0003/","tags":["web"],"sources":["jlsec"]},{"url":"https://www.postgresql.org/support/security/CVE-2024-10979/","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-50","url":"https://osv.dev/vulnerability/JLSEC-2026-50","licence":"CC-BY-4.0","modified":"2026-07-18T00:00:49.256Z"}],"updatedAt":"2026-11-25T22:56:26.141Z"}