Skip to main content
CVE-2025-3818VulnerabilityPublished Updated

CVE-2025-3818: webpy web.py · SQL Injection

Affects webpy web.pySource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Apr 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
webpy web.pyAffected
  • =0.70
Fixed in–

AI-suggested

1. Immediate mitigation should include auditing all web.py 0.70 deployments and identifying any usage of the PostgresDB._process_insert_query function or similar database interaction points that accept the 'seqname' parameter. 2. 3. Implement strict input validation and sanitization on all inputs that interact with database queries, especially those involving sequence names or identifiers. 4. Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection patterns targeting the 'seqname' parameter. 5. Restrict database user permissions to the minimum necessary, avoiding elevated privileges that could exacerbate the impact of injection attacks. 6. Monitor application logs and database query logs for unusual or suspicious activity indicative of SQL injection attempts. 7. Conduct penetration testing focusing on SQL injection vectors to verify the effectiveness of mitigations. 8. Consider network segmentation and limiting external access to vulnerable application components until remediation is complete.

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.

References

Community reviews

Loading reviews…