Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111687 Overview
CVE-2026-111687 is an unauthenticated remote code execution vulnerability in WeRSS (we-mp-rss) through version 1.5.3. The flaw resides in the public GET /rss/{feed_id} endpoint, which accepts a user-controlled template parameter. Attackers can supply a non-built-in ext value together with a {{=expression}} template that traverses Python object subclasses to bypass the eval denylist. This Server-Side Template Injection (SSTI) results in arbitrary operating system command execution under the service account. Because the endpoint requires no authentication, any network-reachable instance can be compromised by a single HTTP request.
Critical Impact
Unauthenticated attackers can execute arbitrary OS commands remotely on vulnerable WeRSS deployments, resulting in full host compromise under the service account privileges.
Affected Products
- WeRSS (we-mp-rss) all versions through 1.5.3
- The vulnerable apis/rss.py RSS feed endpoint
- The vulnerable core/lax/template_parser.py template evaluation routine
Discovery Timeline
- 2026-10-16 - CVE-2026-111687 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111687
Vulnerability Analysis
The vulnerability is a Server-Side Template Injection classified under [CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection)]. The public GET /rss/{feed_id} route in apis/rss.py passes the attacker-controlled template query parameter into the custom template engine implemented in core/lax/template_parser.py. The engine evaluates {{=expression}} constructs using Python's eval, protected only by a denylist of substring patterns. The denylist fails to account for Python's object introspection chain, so expressions that walk ().__class__.__base__.__subclasses__() reach classes that expose process-spawning functionality.
Successful exploitation yields command execution as the WeRSS service account, enabling credential theft, lateral movement, and persistence on the host. See the HackMD SSTI RCE Exploit Analysis and the VulnCheck Advisory for WE-MP-RSS for exploitation detail.
Root Cause
The root cause is unsafe use of eval inside the {{=...}} template construct combined with a denylist-based sandbox. Denylists cannot enumerate every Python object-traversal path, so the sandbox fails open. The ext parameter branch that handles non-built-in extensions reaches the vulnerable evaluator without sanitizing the template input. The relevant code is in apis/rss.py (lines 185-198) and template_parser.py (lines 1150-1166).
Attack Vector
The attack vector is network-based and requires no authentication or user interaction. An attacker issues a single HTTP GET request to /rss/{feed_id} with crafted ext and template query parameters. The template payload contains a {{=expression}} block that pivots through Python subclass traversal into a command execution primitive such as subprocess.Popen or os.system. The response renders attacker-controlled output, confirming code execution without raising authentication errors.
No verified proof-of-concept code is reproduced here. Refer to the external advisories cited above for payload specifics.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-111687
Indicators of Compromise
- HTTP requests to /rss/{feed_id} containing template= query values with {{= or }} delimiters
- Requests passing an ext parameter value that does not match the application's built-in extensions (for example, atom, rss, json)
- WeRSS process spawning unexpected child processes such as /bin/sh, bash, python, curl, or wget
- Outbound network connections from the WeRSS service account to unknown IP addresses shortly after an RSS request
Detection Strategies
- Deploy web application firewall (WAF) rules that block query strings containing {{=, __class__, __subclasses__, or __mro__ on the /rss/ path
- Monitor web server access logs for GET /rss/ requests with abnormally long template parameter values or non-printable characters
- Correlate HTTP request logs with endpoint telemetry showing process creation events parented by the WeRSS Python runtime
Monitoring Recommendations
- Enable verbose access logging on the WeRSS reverse proxy and forward logs to a centralized analytics platform
- Baseline normal child processes of the WeRSS service and alert on deviations
- Alert on new outbound connections initiated by the WeRSS host to non-feed destinations
How to Mitigate CVE-2026-111687
Immediate Actions Required
- Restrict network access to the /rss/ endpoint via firewall or reverse proxy allowlisting until a patched version is deployed
- Run WeRSS as a dedicated, least-privilege account with no sudo rights and no access to secrets outside its data directory
- Audit web access logs for prior exploitation attempts targeting the template parameter
- Rotate any credentials, API keys, or tokens accessible to the WeRSS service account
Patch Information
At publication, no fixed version has been identified in the NVD record. All releases of we-mp-rss through 1.5.3 are affected. Monitor the upstream repository and the VulnCheck Advisory for WE-MP-RSS for a vendor-released patch and upgrade immediately when available.
Workarounds
- Block or filter the template query parameter at the reverse proxy layer so only an empty or allowlisted value reaches WeRSS
- Deny requests where the ext query parameter is not in the known-safe set (for example, rss, atom, json)
- Place WeRSS behind authenticated reverse-proxy access until the component is patched
- Deploy a WAF signature that drops requests containing Python introspection tokens such as __class__ and __subclasses__
# Example NGINX reverse-proxy mitigation: block SSTI payloads to /rss/
location ~ ^/rss/ {
if ($arg_template ~* "(\{\{=|__class__|__subclasses__|__mro__|__globals__)") {
return 403;
}
if ($arg_ext !~* "^(rss|atom|json)?$") {
return 403;
}
proxy_pass http://werss_backend;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

