CRITICAL🇵🇱 Wersja polska

CVE-2026-40035

CVSS 9.3v4.0pub. 2026-04-08upd. 2026-07-24

Unfurl through 2025.08 contains an improper input validation vulnerability in config parsing that enables Flask debug mode by default. The debug configuration value is read as a string and passed directly to app.run(), causing any non-empty string to evaluate truthy, allowing attackers to access the Werkzeug debugger and disclose sensitive information or achieve remote code execution.

🤖 AI Analysis
How it works

The configuration value responsible for debug mode is read as a string and passed directly to the app.run() function. In Python, every non-empty string is treated as a logical truth value (truthy), regardless of its content — even the value 'false' passed as a string will enable debug mode. As a result, Flask starts with the active Werkzeug debugger, which is accessible over the network without any authentication. The attacker gains access to the debugger's interactive console, allowing execution of arbitrary Python code in the application's context.

Impact

An attacker without any authentication can execute arbitrary code on the server (RCE) or gain access to sensitive information processed by the application.

Mitigation & patch

Apply patches available from the vendor according to references (GitHub Security Advisory GHSA-vg9h-jx4v-cwx2). As a workaround, ensure that the debug mode configuration value is passed as a boolean type, not a string, and that the Werkzeug debugger is not exposed to network traffic (e.g., by restricting access at the firewall level).

Who is affected

Ryandfir Unfurl in versions through 2025.08 inclusive

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/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
  • Ryandfir Unfurl

    APP
    Ryandfir
    ≤ 2025.08
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2026-40036HIGH8.7same product

Unfurl before 2026.04 contains an unbounded zlib decompression vulnerability in parse_compressed.py that allow...