# CVE-2024-27456: Rack CORS Middleware has Insecure File Permissions

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-26T00:00:00.000Z
- Modified: 2026-06-17T07:19:55.750Z
- Also known as: GHSA-785g-282q-pwvx
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

rack-cors (aka Rack CORS Middleware) 2.0.1 has 0666 permissions for the .rb files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rack-cors_project rack-cors: 2.0.1
- rack-cors (RubyGems): from 2.0.1 before 2.0.2
- rylabs rack_cors_middleware: 2.0.1

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: rating Medium

## References

- <https://github.com/cyu/rack-cors/issues/274> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27456> (advisory)
- <https://github.com/advisories/GHSA-785g-282q-pwvx> (advisory)
- <https://github.com/cyu/rack-cors> (package)
- <https://github.com/cyu/rack-cors/blob/878063987bd1ca956282dda95697fd821bf24d2e/CHANGELOG.md#changed> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-cors/CVE-2024-27456.yml> (web)

## Sources

- CVE List: [CVE-2024-27456](https://www.cve.org/CVERecord?id=CVE-2024-27456), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-785g-282q-pwvx](https://github.com/advisories/GHSA-785g-282q-pwvx), CC-BY-4.0, modified 2024-03-04
- NVD: [CVE-2024-27456](https://nvd.nist.gov/vuln/detail/CVE-2024-27456), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27456 · Whole record: https://cve.day/CVE-2024-27456.json · Rebuilt by cve.day 2026-11-25T22:58:37.063Z
