Skip to main content
Public proof of conceptFix available

CVE-2024-34082

A public proof of concept exists; no exploitation attested.

  • Published2024-05-15
  • Fixed in1.7.46
  • WeaknessCWE-269

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Grav is a file-based Web platform. Prior to version 1.7.46, a low privilege user account with page edit privilege can read any server files using Twig Syntax. This includes Grav user account files - `/grav/user/accounts/*.yaml`. This file stores hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account and read any file in the web server by resetting a password for a user to get access to the password reset token from the file or by cracking the hashed password. A low privileged user may also perform a full account takeover of other registered users including Administrators. Version 1.7.46 contains a patch.

Timeline

dates in UTC
  1. 2024-05-1517:15CVE publishedNVD

Versions per branch

NVD · OSV · CISA-ADP
Getgrav grav
BranchAffectedFixed in
1.7< 1.7.461.7.46
—all versionsno fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • getgrav grav
    Affected
    • = < 1.7.46no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-05-15

Fix

  1. Update Getgrav grav to 1.7.46

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-05-15
  • CNACVSS 3.18.5known since 2026-10-23
  • NVDCVSS 3.19.9read 2026-10-23
  • CNAweakness (CWE)CWE-269known since 2026-10-23
  • FIRST EPSSEPSS score3.0 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2024-05-15

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
2024-05-15
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-f8v5-jmfh-pr69

Frequently asked questions

What is CVE-2024-34082?

Grav is a file-based Web platform. Prior to version 1.7.46, a low privilege user account with page edit privilege can read any server files using Twig Syntax. This includes Grav user account files - `/grav/user/accounts/*.yaml`. This file stores hashed user password, 2FA secret, and the password reset token. This can allow an adversary to compromise any registered account and read any file in the web server by resetting a password for a user to get access to the password reset token from the file or by cracking the hashed password. A low privileged user may also perform a full account takeover of other registered users including Administrators. Version 1.7.46 contains a patch.

Is CVE-2024-34082 actively exploited?

A proof-of-concept exploit exists for CVE-2024-34082, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-34082?

CVE-2024-34082 has a CVSS v3 base score of 9.9 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Running getgrav/grav? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record