CVE-2025-3818
Linux Debian vulnerability analysis and mitigation

Overview

A critical SQL injection vulnerability was discovered in webpy web.py version 0.70. The vulnerability affects the PostgresDB.processinsert_query function in the web/db.py file, specifically related to the manipulation of the seqname argument. The vulnerability was disclosed on April 19, 2025, and has been assigned CVE-2025-3818 (NVD, VulDB).

Technical details

The vulnerability exists in the PostgresDB.processinsert_query method of web/db.py where the seqname parameter is not properly filtered or escaped. The issue is classified as CWE-89 (SQL Injection) and CWE-74 (Injection). The vulnerability has received a CVSS v3.1 base score of 6.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, and a CVSS v4.0 score of 5.3 (Medium) with the vector string 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 (VulDB).

Impact

The SQL injection vulnerability can impact the confidentiality, integrity, and availability of the affected system. When using PostgreSQL database, attackers can potentially inject arbitrary SQL commands by controlling the sequence name parameter (VulDB).

Mitigation and workarounds

No specific mitigation measures or workarounds have been publicly documented. It is recommended to replace the affected component with an alternative product until a patch is available (VulDB).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management