Description
The sample web application in web2py before 2.14.2 might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function.
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | web2py | 2.12.3-1ubuntu0.1 | USN-4030-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | web2py | < 2.14.2 | 2.14.2 | GHSA-q2rq-qgcf-m22w |
Advisories 1
- USN-4030-1 web2py vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026