Skip to content
Fencer Vulns
medium 6.3

CVE-2025-3818 json

webpy web.py db.py PostgresDB._process_insert_query sql injection

published 2025-04-19 18 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-15028

cvss
6.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

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.

Patch / fix

  • webpy Debian 12 1:0.62-4+deb12u1
  • webpy Debian 14, Debian 13 1:0.62-6

debian advisories DEBIAN-CVE-2025-3818

  • webpy Ubuntu Pro 16.04 LTS 1:0.37+20120626-1ubuntu0.1~esm1
  • webpy Ubuntu Pro 18.04 LTS 1:0.38+20170615-1ubuntu0.1~esm1
  • webpy Ubuntu Pro 20.04 LTS 1:0.40-2ubuntu0.1~esm1
  • webpy Ubuntu Pro 22.04 LTS 1:0.61-1ubuntu0.1~esm1
  • webpy Ubuntu Pro 24.04 LTS 1:0.62-4ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2025-3818

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-3818 updated cvss 6.3

webpy: webpy web.py db.py PostgresDB._process_insert_query sql injection

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • noppgwz8if.feishu.cn https://noppgwz8if.feishu.cn/docx/TxjpddUpTokyBwxibSgcTRr7nUf referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 5.3 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
CNA 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA 3.0 6.3 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CNA 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
CNA 4.0 5.3 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

Affected products

  • webpy web.py

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.