Home / Rails / ActiveSupport / CVE-2023-38037
CVE-2023-38037: is it exploited, and which versions of Rails ActiveSupport are affected and fixed?
CVE-2023-38037 is an incorrect permissions on a critical resource vulnerability in Rails ActiveSupport. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: activesupport from 5.2.0 before 6.1.7.5 and activesupport from 7.0.0 before 7.0.7.1 (GitHub advisory GHSA-cr5q-6q9f-rq6q). Fixed in 6.1.7.5 and 7.0.7.1 (GitHub advisory GHSA-cr5q-6q9f-rq6q). Severity: Medium (5.5, CVSS 3.0, from hackerone).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2023-38037?
ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file's permissions are defaulted to the user's current `umask` settings, meaning that it's possible for other users on the same system to read the contents of the temporary file. Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it. All users running an affected release should either upgrade or use one of the workarounds immediately.
From the CVE record by hackerone, last updated February 15, 2025, 00:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Rails | ActiveSupport | from >= 5.2.0 before >= 5.2.0 | >= 5.2.0, 5.2.0, 7.0.7.1, 6.1.7.5 |
As the CVE record by hackerone states it, last updated February 15, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | activesupport | >= 5.2.0, < 6.1.7.5 | 6.1.7.5 | GHSA-cr5q-6q9f-rq6q |
| RubyGems | activesupport | >= 7.0.0, < 7.0.7.1 | 7.0.7.1 | GHSA-cr5q-6q9f-rq6q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 18, 2025. Summary: Active Support Possibly Discloses Locally Encrypted Files.
How severe is CVE-2023-38037?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L | hackerone |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-38037 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 9, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 21.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://discuss.rubyonrails.org/t/cve-2023-38037-possible-file-disclosure-of-locally-encrypted-files/83544
- https://security.netapp.com/advisory/ntap-20250214-0010/
When was it published, and where is the official record?
- Reserved
- July 12, 2023
- Published
- January 9, 2025, 00:33 UTC
- CVE record updated
- February 15, 2025, 00:10 UTC by hackerone
- NVD
- Deferred, last modified June 17, 2026, 06:09 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect ActiveSupport?
- Mar 23, 2026CVE-2026-33176 rails activesupport: denial of service (uncontrolled resource consumption)
- Mar 23, 2026CVE-2026-33170 rails activesupport: cross-site scripting (XSS)
- Mar 23, 2026CVE-2026-33169 rails activesupport: denial of service (uncontrolled resource consumption)
- Jan 9, 2025CVE-2023-28120 Rails ActiveSupport: cross-site scripting (XSS)
Questions about CVE-2023-38037
Is CVE-2023-38037 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Rails ActiveSupport are affected by CVE-2023-38037?
activesupport from 5.2.0 before 6.1.7.5 and activesupport from 7.0.0 before 7.0.7.1, per the GitHub advisory GHSA-cr5q-6q9f-rq6q. The tables above give every range the sources list.
Which version fixes CVE-2023-38037?
6.1.7.5 and 7.0.7.1, per the GitHub advisory GHSA-cr5q-6q9f-rq6q. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-38037?
Medium (5.5, CVSS 3.0, from hackerone). The severity table above shows each score with its source.
Where is the official record of CVE-2023-38037?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.