Vulnerability · Published Apr 19, 2025 · Assigned by VulDB
CVE-2025-3818webpy web.py db.py PostgresDB._process_insert_query sql injection
Medium 6.3
In plain English
A medium-severity SQL injection in web.py from webpy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | webpy | 1:0.62-4+deb12u1 | DEBIAN-CVE-2025-3818 |
| Debian:13 | webpy | 1:0.62-6 | DEBIAN-CVE-2025-3818 |
| Debian:14 | webpy | 1:0.62-6 | DEBIAN-CVE-2025-3818 |
Affected products (as reported)
Weakness: CWE-89, CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- VDB-305724 | webpy web.py db.py PostgresDB._process_insert_query sql injection vdb-entry, technical-description
- VDB-305724 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #555649 | web.py 0.70 SQL Injection third-party-advisory
- https://noppgwz8if.feishu.cn/docx/TxjpddUpTokyBwxibSgcTRr7nUf exploit
- https://lists.debian.org/debian-lts-announce/2025/05/msg00041.html