CVE-2026-79318
Received Received - Intake

Directory Traversal in web2py Admin Module

Vulnerability report for CVE-2026-79318, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-21

Last updated on: 2026-09-21

Assigner: MITRE

Description

web2py 3.2.2-stable (commit a7330a2bf21219fa77860b6665de927dd4f98e6d) is vulnerable to Directory Traversal in read_file()/write_file() (applications/admin/controllers/webservices.py).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-21
Last Modified
2026-09-21
Generated
2026-09-22
AI Q&A
2026-09-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
web2py web2py to 3.2.2 (inc)
web2py web2py to 3.3.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-79318 is a path traversal vulnerability in web2py 3.2.2-stable affecting the administrative application. It allows authenticated users to read or write files outside the intended directory due to improper path handling in read_file()/write_file() functions. This flaw, tracked as CWE-22, enables access to sensitive files or overwriting critical ones, potentially leading to arbitrary code execution if files are written to controller directories.

Detection Guidance

To detect this vulnerability, check if your web2py instance is running version 3.2.2 or earlier. Inspect the administrative interface for unauthorized file access attempts or suspicious file read/write operations. Monitor logs for paths containing parent directory traversal sequences like '../' in requests to webservices.py.

Impact Analysis

If exploited, this vulnerability could allow attackers with valid credentials to access sensitive files like configuration files, source code, or password hashes. It may also enable overwriting critical files, which could lead to arbitrary code execution. The impact depends on the attacker's access level and the files they can reach.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive files such as configuration files, source code, or password hashes, which may contain personal or protected health information. Unauthorized access to such data could result in violations of GDPR (if personal data is exposed) or HIPAA (if protected health information is compromised). The ability to read or write files outside intended directories increases the risk of non-compliance with these regulations due to potential data breaches.

Mitigation Strategies

Immediately restrict access to the administrative interface via network controls or TLS reverse proxies. Disable remote file operations if not required. Upgrade to a patched development version if available. Implement strict path containment checks in file operations. Ensure strong credentials are enforced for all administrative accounts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-79318. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart