What it is
CVE-2021-31805 is an unauthenticated vulnerability affecting Apache Software Foundation Apache Struts. The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s...
Vulnerability report
Apache Struts Remote Code Execution
Apache Software Foundation / Apache Struts · 2.0.0 to 2.5.29
Decision summary
Direct answers before the deeper technical record.
What it is
CVE-2021-31805 is an unauthenticated vulnerability affecting Apache Software Foundation Apache Struts. The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s...
Is it exploited?
Yes. KEV Intelligence sensors observed exploitation attempts with confirmed confidence.
Who is affected?
Apache Software Foundation / Apache Struts 2.0.0 to 2.5.29.
What should we do?
Patch immediately, validate internet-facing exposure, and monitor for matching requests.
Overview
The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax.
Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
KEV Intelligence
Independent exploitation attestation added to the KEV Intelligence record.
KEV Intelligence sensor
First-party sensor telemetry confirms matching exploitation attempts.
GitHub
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the KEV Intelligence Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| KEV Intelligence First | 2026-06-12 00:32 UTC |
Operational indicators for this CVE are listed under Detection.
Sensor telemetry
Aggregate observations show the scale, recency, and distribution of activity without overstating sparse data.
2
Attempts observed
2
Unique attacker IPs
2
Attacker countries
JP · US
2
Sensors observed
Exploitation attempts over the last 70 days
Daily events observed by KEV Intelligence sensors
Updated 19 Aug 2026
First observed 12 Jun 2026 · Last observed 30 Jul 2026
Pro adds sensor region and window summaries. Enterprise adds raw IPs, paths, User-Agents, and payloads.
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Raw values available in Pro and Enterprise.
Nuclei template detected 25 Apr 2025.
View Nuclei template (opens in new tab)KEV Intelligence virtual patch guidance is available for this CVE.
Attacker IP indicators observed · available in Pro and Enterprise.
Sensor-derived attacker IP indicators are available to Pro and Enterprise accounts under Detection and through the Pro API.
Learn about Pro API accessScanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-31805.yaml | 25 Apr 2025 |
Compensating WAF rules for this CVE.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEV Intelligence Enterprise users.
Risk and context
CVSS v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
85.4%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2022-04-15 04:23:44 UTC · 35 stars · AI assessment 90%
S2-062 (CVE-2021-31805) / S2-061 / S2-059 RCE
nuclei · Created Unknown
Timeline
Compensating WAF rule available to block exploitation
Evidence-backed exploitation signal
Indicators of compromise recorded
Scanner coverage available
Public proof-of-concept code published
Vulnerability disclosed publicly
Identifier reserved by the CNA
Pro API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/pro/kevs/CVE-2021-31805
Free JSON includes basic KEV fields{
"cve_id": "CVE-2021-31805",
"confidence": "Confirmed",
"cvss_score": 9.8,
"cvss_estimated": false,
"epss_score": 0.85433,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": true
},
"sensor_telemetry": { "attempts": 2, "sensors": 2 }
}
Early warning alerts
Receive curator-selected alerts when exploitation activity warrants attention. Each alert includes the evidence and context needed to decide what requires attention now.