CVE-2025-3818 webpy web.py db.py PostgresDB._process_insert_query sql injection
MediumCVSS 5.3
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/webpy(Debian 12) | < 1:0.62-4+deb12u1; = 1:0.62-4 | 1:0.62-4+deb12u1 | Fixed |
| debian/webpy(Debian 13) | < 1:0.62-6 | 1:0.62-6 | Fixed |
| debian/webpy(Debian 14) | < 1:0.62-6 | 1:0.62-6 | Fixed |
| ubuntu/webpy(Ubuntu 22.04) | < 1:0.61-1ubuntu0.1~esm1 | 1:0.61-1ubuntu0.1~esm1 | Fixed |
| ubuntu/webpy(Ubuntu 24.04) | < 1:0.62-4ubuntu0.1~esm1 | 1:0.62-4ubuntu0.1~esm1 | Fixed |
| webpy web.py | = 0.70 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/webpy(Debian:12) | < 1:0.62-4+deb12u1 | 1:0.62-4+deb12u1 |
| debian/webpy(Debian:12) | = 1:0.62-4 | No fix listed |
| debian/webpy(Debian:13) | < 1:0.62-6 | 1:0.62-6 |
| debian/webpy(Debian:14) | < 1:0.62-6 | 1:0.62-6 |
| webpy web.py | = 0.70 | No fix listed |
| ubuntu/webpy(Ubuntu:22.04) | < 1:0.61-1ubuntu0.1~esm1 | 1:0.61-1ubuntu0.1~esm1 |
| ubuntu/webpy(Ubuntu:24.04) | < 1:0.62-4ubuntu0.1~esm1 | 1:0.62-4ubuntu0.1~esm1 |
References
- Debian Security Tracker CVE-2025-3818 vendor-advisory
- VDB-305724 | webpy web.py db.py PostgresDB._process_insert_query sql injection technical-description vdb-entry
- VDB-305724 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- Submit #555649 | web.py 0.70 SQL Injection third-party-advisory
- noppgwz8if.feishu.cn exploit
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-8443-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking