{"id":"JLSEC-2026-50","details":"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.","modified":"2026-04-03T13:31:40.191855Z","published":"2026-04-03T13:27:15.647Z","upstream":["CVE-2024-10979"],"database_specific":{"sources":[{"url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-10979","modified":"2025-11-03T22:16:37.020Z","id":"CVE-2024-10979","published":"2024-11-14T13:15:04.407Z","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10979","imported":"2026-04-03T13:13:10.713Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2024-10979/"},{"type":"WEB","url":"https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20250110-0003/"}],"affected":[{"package":{"name":"LibPQ_jll","ecosystem":"Julia","purl":"pkg:julia/LibPQ_jll?uuid=08be9ffa-1c94-5ee5-a977-46a84ec9b350"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"16.8.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-50.json"}}],"schema_version":"1.7.5"}