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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webpy | web.py | 0.70 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | webpy | 1:0.62-6 | — |
| Debian 13 | webpy | 1:0.62-6 | — |
| Debian 12 | webpy | 1:0.62-4+deb12u1 | — |
| Debian 11 | webpy | 1:0.61-1+deb11u1 | DLA-4189-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | webpy | 1:0.62-4ubuntu0.1~esm1 | USN-8443-1 |
| Ubuntu Pro 22.04 LTS | webpy | 1:0.61-1ubuntu0.1~esm1 | USN-8443-1 |
| Ubuntu Pro 20.04 LTS | webpy | 1:0.40-2ubuntu0.1~esm1 | USN-8443-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | webpy | 1:0.38+20170615-1ubuntu0.1~esm1 | USN-8443-1 |
| Ubuntu Pro 16.04 LTS | webpy | 1:0.37+20120626-1ubuntu0.1~esm1 | USN-8443-1 |
Advisories 2
- USN-8443-1 webpy vulnerability Ubuntu Security Notices (USN) · Jun 17, 2026
- DLA-4189-1 webpy - security update Debian Security (DSA / DLA) · Mar 9, 2026
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