{"id":"CVE-2025-3818","aliases":["DEBIAN-CVE-2025-3818","DLA-4189-1","EUVD-2025-15028","GHSA-9g47-36rw-gjh2","UBUNTU-CVE-2025-3818","USN-8443-1"],"status":"published","title":"webpy web.py db.py PostgresDB._process_insert_query sql injection","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00331,"percentile":0.2646,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-89"],"published":"2025-04-19T19:31:19Z","modified":"2026-09-01T20:05:48Z","fixes":[{"ecosystem":"Debian:12","package":"webpy","fixed_in":["1:0.62-4+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"webpy","fixed_in":["1:0.62-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"webpy","fixed_in":["1:0.62-6"],"sources":["osv"]},{"ecosystem":"Debian:11","package":"webpy","fixed_in":["1:0.61-1+deb11u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"webpy","fixed_in":["1:0.37+20120626-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"webpy","fixed_in":["1:0.38+20170615-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"webpy","fixed_in":["1:0.40-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"webpy","fixed_in":["1:0.61-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"webpy","fixed_in":["1:0.62-4ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-4+deb12u1"}]}],"versions":["1:0.62-4"]},{"source":"osv","ecosystem":"Debian:13","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-6"}]}]},{"source":"osv","ecosystem":"Debian:11","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.61-1+deb11u1"}]}],"versions":["1:0.61-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.37+20120626-1ubuntu0.1~esm1"}]}],"versions":["1:0.37+20120626-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.38+20170615-1ubuntu0.1~esm1"}]}],"versions":["1:0.38-1","1:0.38+20170615-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.40-2ubuntu0.1~esm1"}]}],"versions":["1:0.39+20181101-1","1:0.40-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.61-1ubuntu0.1~esm1"}]}],"versions":["1:0.61-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-4ubuntu0.1~esm1"}]}],"versions":["1:0.62-4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.37+20120626-1ubuntu0.1~esm1"}]}],"versions":["1:0.37+20120626-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.38+20170615-1ubuntu0.1~esm1"}]}],"versions":["1:0.38-1","1:0.38+20170615-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.40-2ubuntu0.1~esm1"}]}],"versions":["1:0.39+20181101-1","1:0.40-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.61-1ubuntu0.1~esm1"}]}],"versions":["1:0.61-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"webpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:0.62-4ubuntu0.1~esm1"}]}],"versions":["1:0.62-4"]}],"products":[{"vendor":"webpy","product":"web.py"}],"references":[{"url":"https://vuldb.com/?id.305724","tags":["vdb-entry","technical-description","web","report"]},{"url":"https://vuldb.com/?ctiid.305724","tags":["signature","permissions-required","web"]},{"url":"https://vuldb.com/?submit.555649","tags":["third-party-advisory","web","report"]},{"url":"https://noppgwz8if.feishu.cn/docx/TxjpddUpTokyBwxibSgcTRr7nUf","tags":["exploit","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00041.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3818"},{"url":"https://github.com/advisories/GHSA-9g47-36rw-gjh2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-3818","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-3818","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-3818","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8443-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-3818","title":"webpy web.py db.py PostgresDB._process_insert_query sql injection","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T19:31:19.855Z","modified":"2025-05-29T13:11:18.512Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"},{"version":"3.0","score":6.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","assessor":"cna"}],"cwes":["CWE-89","CWE-74"],"updated_at":"2026-11-02T14:32:39.378527Z"}],"euvd":[{"id":"EUVD-2025-15028","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T19:31:19Z","modified":"2025-05-29T13:11:18Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T20:32:36.215224Z"}],"ghsa":[{"id":"GHSA-9g47-36rw-gjh2","title":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is...","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T21:30:27Z","modified":"2025-05-29T15:31:07Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T15:02:30.221111Z"}],"nvd":[{"id":"CVE-2025-3818","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T20:15:15.037Z","modified":"2026-06-17T09:20:44.15Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-74","CWE-89"],"updated_at":"2026-11-02T14:11:01.507281Z"}],"osv":[{"id":"DEBIAN-CVE-2025-3818","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T20:15:15.037Z","modified":"2026-09-01T20:05:48.530573212Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-11-02T15:45:46.222864Z"},{"id":"UBUNTU-CVE-2025-3818","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T20:15:00Z","modified":"2026-06-17T20:15:27.588334902Z","cvss":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","level":"medium"},{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T16:55:33.787705Z"},{"id":"CVE-2025-3818","description":"A vulnerability, which was classified as critical, was found in webpy web.py 0.70. Affected is the function PostgresDB._process_insert_query of the file web/db.py. The manipulation of the argument seqname leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.","status":"published","published":"2025-04-19T20:15:15Z","modified":"2026-04-10T05:26:01.266758Z","updated_at":"2026-11-02T15:44:48.703031Z"},{"id":"DLA-4189-1","title":"webpy - security update","status":"published","published":"2025-05-29T00:00:00Z","modified":"2026-03-09T01:19:48.253977Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"USN-8443-1","title":"webpy vulnerability","description":"It was discovered that web.py incorrectly handled sequence names in\nPostgreSQL insert queries. An attacker could possibly use this issue\nto perform SQL injection attacks, resulting in the alteration or exposure\nof database information.","status":"published","published":"2026-06-17T12:14:47Z","modified":"2026-06-17T20:33:58.317315215Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
