CVE-2026-137305

Source
https://cve.org/CVERecord?id=CVE-2026-137305
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137305.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137305
Aliases
  • GHSA-4grx-p93p-25w8
Published
2026-11-26T01:37:17Z
Modified
2026-11-26T10:00:09Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Grav Form Plugin before 9.2.4 Code Injection via File Field Upload Destination
Details

Grav Form plugin before 9.2.4 contains a code injection vulnerability that allows page authors to write uploads into Twig template folders by setting an unchecked file field destination in Form::uploadFiles(). Attackers can upload .txt or .svg files containing Twig and have them rendered as trusted templates outside the sandbox, executing code as the web server user.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-94"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137305.json"
}
References

Affected packages

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

Affected ranges

Type
GIT
Repo
https://github.com/getgrav/grav-plugin-form
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "9.2.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "3daa9cb66c43b6d472473dcbf0c312c8e66b1769"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.7.0
1.*
1.3.0-beta.1
1.3.0-beta.2
1.3.0-beta.3
1.3.0-beta.4
1.3.0-beta.6
1.3.0-rc.1
1.3.0-rc.2
1.3.0-rc.3
1.3.0-rc.4
2.*
2.0.0-rc.1
2.0.8-rc.1
2.8.0-rc.1
2.8.0-rc.2
3.*
3.0.0-beta.1
3.0.0-beta.2
3.0.0-beta.3
3.0.0-beta.4
3.0.0-beta.5
3.0.0-rc.1
3.0.0-rc.2
3.0.0-rc.3
3.0.0-rc.4
4.*
4.0.0
6.*
6.0.4
7.*
7.0.0
7.0.1
7.0.2
7.1.0
7.1.1
7.1.2
7.1.3
7.2.0
7.2.1
7.2.2
7.3.0
7.4.0
7.4.1
7.4.2
8.*
8.0.0
8.0.1
8.0.2
8.0.3
8.0.4
8.0.5
8.0.6
8.1.0
8.2.0
8.2.1
9.*
9.1.0
9.1.1
9.1.10
9.1.11
9.1.12
9.1.13
9.1.14
9.1.15
9.1.16
9.1.17
9.1.18
9.1.19
9.1.2
9.1.20
9.1.21
9.1.22
9.1.23
9.1.24
9.1.25
9.1.26
9.1.27
9.1.28
9.1.29
9.1.3
9.1.30
9.1.31
9.1.32
9.1.33
9.1.34
9.1.35
9.1.36
9.1.37
9.1.38
9.1.39
9.1.4
9.1.40
9.1.5
9.1.6
9.1.7
9.1.8
9.1.9
9.2.0
9.2.1
9.2.2
9.2.3

Database specific

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