getgrav/grav-plugin-admin account takeover via password reset poisoning
Only affects Grav Admin plugin 1.10.64 and earlier used with Login 3.8.6 or later, when Login's Require Trusted Host is on and neither Site Host nor Custom Base URL is set. Fixed in 1.10.65.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.10.65
- Who is exposed
- Specific setups only
Summary
The Grav Admin plugin (getgrav/grav-plugin-admin) has a password reset poisoning flaw that ignores the Require Trusted Host setting. A remote attacker who doesn't need to log in and knows an administrator's username can send a forged Host header with a forgot-password request, so that when the administrator clicks the reset link, the attacker captures the token and can take over the account.
Written by a model
Original description
Grav Admin plugin before 1.10.65 contains a password reset poisoning vulnerability in LoginController::taskForgot() that ignores the Require Trusted Host setting when building reset links. Unauthenticated attackers who know an administrator's username can submit the forgot-password form with a forged Host header, capturing the reset token when clicked to take over accounts.
Who should check
Teams running the classic Grav Admin plugin (getgrav/grav-plugin-admin 1.10.64 or earlier) on Grav 1.7 with Login 3.8.6+ and Require Trusted Host enabled
“getgrav/grav-plugin-admin 1.10.64 and earlier, used with Login 3.8.6 or later”
What to do
Check whether your setup matches what the bug needs.
Login plugin's Require Trusted Host setting is enabled (plugins.login.require_trusted_host) while neither Site Host nor Custom Base URL is set Grav Admin plugin 1.10.64 or earlier, used with Login 3.8.6 or later Classic Admin plugin on Grav 1.7 only Web server passes an arbitrary Host header to PHPUpgrade to a fixed version: 1.10.65.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-137306 (Grav Admin Plugin before 1.10.65 Password Reset Poisoning via Host Header), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-137306 (entry last updated 2026-11-26):
Affected:
- Packagist package getgrav/grav-plugin-admin: fixed in 1.10.65
Fixed versions: 1.10.65.
Conditions (all must be true for the bug to be hit):
- Login plugin's Require Trusted Host setting is enabled (plugins.login.require_trusted_host) while neither Site Host nor Custom Base URL is set (source: https://github.com/getgrav/grav/security/advisories/GHSA-v8r8-3hq6-qgff)
- Grav Admin plugin 1.10.64 or earlier, used with Login 3.8.6 or later (source: https://github.com/getgrav/grav/security/advisories/GHSA-v8r8-3hq6-qgff)
- Classic Admin plugin on Grav 1.7 only (source: https://github.com/getgrav/grav/security/advisories/GHSA-v8r8-3hq6-qgff)
- Web server passes an arbitrary Host header to PHP (source: https://github.com/getgrav/grav/security/advisories/GHSA-v8r8-3hq6-qgff)
Setup: the bug needs a feature or setting that is off by default or uncommon. Check whether each asset has it on.
Attacker needs: network access, no login, a user action.
CISA KEV: CVE-2026-137306 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-137306 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/getgrav/grav/security/advisories/GHSA-v8r8-3hq6-qgff
- https://github.com/getgrav/grav-plugin-admin/commit/4d09bd84ed1f7871e4a1a07a14eb11c33cafd5b9
- https://www.vulncheck.com/advisories/grav-admin-plugin-before-1.10.65-password-reset-poisoning-via-host-header
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-137306
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-137306"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure12/25Specific setups only, reachable over the network without a login
- Reach10/20Affects Packagist packages
- Severity7.6/10CVSS 7.6
- No patch0/5No signal
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · getgrav/grav · Advisory GHSA-v8r8-3hq6-qgff |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-137306 |
| Record | NVD · CVE-2026-137306 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · googlesky/CVE-2026-137306 · Repository |
| Other links 2 | |
| Patch | GitHub · getgrav/grav-plugin-admin · Commit 4d09bd84 |
| Link | vulncheck.com · advisories/grav-admin-plugin-before-1.10.65-password-reset-poisoning-via-host-header |
Questions about CVE-2026-137306
Is CVE-2026-137306 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A password reset link can be built from an attacker-supplied Host header, so a victim who clicks it can leak the reset token. Using that token takes over an enabled administrator account that has an email address, including a super administrator.
Source: github.com
Which versions are affected by CVE-2026-137306?
getgrav/grav-plugin-admin (Packagist): before 1.10.65.
Source: cve.now feed data
Am I affected, and how do I check?
Grav Admin plugin 1.10.64 and earlier, used with Login 3.8.6 or later, on a web server that passes an arbitrary Host header to PHP. Check the plugin version in the Admin plugin's details, and check whether plugins.login.require_trusted_host is enabled while plugins.login.site_host and system.custom_base_url are both unset. The classic Admin plugin runs on Grav 1.7 only.
Source: github.com
How do I fix CVE-2026-137306?
Upgrade grav-plugin-admin to 1.10.65 or later.
Source: github.com
Related
- CVE-2021-21425Unauthenticated Arbitrary YAML Write/Update leads to Code Execution
- CVE-2021-29439Plugins can be installed with minimal admin privileges
- CVE-2026-44737grav-plugin-admin: Stored Cross-Site Scripting (XSS) Reflected endpoint /admin/pages/[page], parameter data[header][title]
- CVE-2021-3799Improper Restriction of Rendered UI Layers or Frames in getgrav/grav-plugin-admin
- CVE-2026-85600Grav Admin before 2.0.21 Stored XSS via username
- CVE-2021-3920Cross-site Scripting (XSS) - Stored in getgrav/grav-plugin-admin
No corrections so far. Something wrong on this page? Report an error.