CVE-2024-27456: rack-cors · Information Exposure
Affects rack-corsSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
RubyGemsrack-corspkg:gem/rack-corsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Organizations should immediately audit the file permissions of rack-cors middleware files, ensuring that .rb source files are not world-writable or world-readable beyond necessary operational requirements. Specifically, permissions should be restricted to 0644 or more restrictive (e.g., 0600) depending on the deployment context. System administrators should enforce strict access controls on application directories and consider using mandatory access control (MAC) frameworks like SELinux or AppArmor to limit unauthorized file modifications. Additionally, environments should restrict local user access to trusted personnel only, minimizing the risk of exploitation by unauthorized users. Monitoring file integrity using tools such as Tripwire or OSSEC can detect unauthorized changes to source files. Developers and DevOps teams should track updates from the rack-cors maintainers for official patches and apply them promptly once available. Finally, consider isolating critical web application components in containers or virtual machines to reduce the attack surface.
Description
rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.