OS command injection in Grav Git Sync via commit author fields
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
Grav Git Sync from 1.0.2 before 3.4.13 contains a command injection flaw (CWE-78) in how it builds git commit author values from user profile fields. When the gravuser or gravfull author mode is enabled, an authenticated content editor can insert shell substitutions into the username, full name, or email, and these values are passed to PHP exec() so that commands run as the web-server account. The CVSS 4.0 vector rates the attack as low complexity and requires low privileges, with high impact on confidentiality, integrity and availability.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Grav Git Sync 1.0.2 through 3.4.12 contains a command injection vulnerability that allows authenticated content editors to execute OS commands by injecting shell substitutions into profile fields. When the gravuser or gravfull author mode is enabled, attackers can set a malicious username, full name, or email that reaches PHP exec() via git commit --author, running commands as the web-server account.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Trilby Media | grav-plugin-git-sync | 1.0.2 to before 3.4.13 | 3.4.13 | Patch available | CNA |
- grav-plugin-git-sync VendorTrilby Media Affected 1.0.2 to before 3.4.13 Fixed in 3.4.13 Patch available CNA
Remediation
Update trilbymedia grav-plugin-git-sync to version 3.4.13 or later, which fixes the flaw. The sources list no vendor advisory identifier for this fix.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA grav-plugin-git-sync (trilbymedia) Fixed in 3.4.13
Timeline
- 2026-10-12 Threatist record created from CVE-2026-109318
- 2026-10-12 Alias added: GHSA-cp28-795p-j89g
- 2026-10-13 CISA SSVC decision points changed
- 2026-10-13 Priority changed: MEDIUM → LOW
- 2026-10-13 Priority changed: LOW → MEDIUM
References
More Trilby Media vulnerabilities
- TI-2026-51057 Grav through 2.0.11 Authentication Bypass via Flex Objects CVSS 4.0HIGH 8.7
- TI-2026-09863 Grav CMS Scheduler Webhook Authentication Bypass via Null Short-Circuit CVSS 4.0MEDIUM 6.9
- TI-2026-41658 Authentication Bypass via Null Short-Circuit in Grav CMS Scheduler Webhook Token Check CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-109318 · CVE Program
- CVE-2026-109318 · NVD
- FIRST EPSS
- GHSA-cp28-795p-j89g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences