CVE-2026-42613

Source
https://cve.org/CVERecord?id=CVE-2026-42613
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42613.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42613
Aliases
Related
Published
2026-05-11T15:24:19.238Z
Modified
2026-07-08T08:13:43.492328475Z
Severity
  • 9.4 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Grav: Privilege Escalation via Missing Server-Side Validation of groups/access
Details

Grav is a file-based Web platform. Prior to 2.0.0-beta.2, the Login::register() method in the Login plugin accepts attacker-controlled groups and access fields from the registration POST data without server-side validation. When registration is enabled and groups or access are included in the configured allowed fields list, an unauthenticated user can self-register with admin.super privileges by injecting these fields into the registration request. This vulnerability is fixed in 2.0.0-beta.2.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42613.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-20",
        "CWE-862"
    ]
}
References

Affected packages

Git / github.com/getgrav/grav-plugin-login

Affected ranges

Type
GIT
Repo
https://github.com/getgrav/grav-plugin-login
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.0-beta.2"
        }
    ]
}

Affected versions

2.*
2.0.0-beta.1
2.0.0-beta.3
2.0.0-rc.1
2.0.0-rc.2
2.1.0-rc.1
2.1.0-rc.2
2.2.0-rc.1
2.2.0-rc.2
2.2.0-rc.3
2.2.0-rc.5
3.*
3.0.0-beta.1
3.0.0-rc.1
3.0.0-rc.2
3.0.0-rc.3
3.0.0-rc.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42613.json"