CVE-2025-50286
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plugin via the /admin/tools/direct-install interface. Once uploaded, the plugin is automatically extracted and loaded, allowing arbitrary PHP code execution and reverse shell access.
Timeline
Days relative to CVE publicationFirst public PoC 5 days after publication; not in CISA KEV. First PoC: Grav CMS 1.7.48 - Remote Code Execution (RCE) (Exploit-DB, 11 Aug 2025).
PoC repositories
Found on GitHub.2 PoCs · 1 suspicious or fake
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hn7494213-glitch/CVE-projecttt | 25 Nov 2025 +111 d | 0 | PoC via PoC Index |
| x1o3/CVE-2025-50286 | 28 Feb 2026 +207 d | 0 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| binneko/CVE-2025-50286 | 5 Aug 2025 −22 h | 2 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Grav CMS 1.7.48 - Remote Code Execution (RCE) | 11 Aug 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Grav CMS Admin Direct Install Authenticated Plugin Upload RCE (exploit/multi/http/grav_admin_direct_install_rce_cve_2025_50286) | 27 Feb 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /
GET /resource/{var}
- Query
p=c=id- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:420
GET /resource/{var}.php
- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:372
POST /index.php
- Body markers
__csrf_magic=action=loginlogin_username=login_password=remember_me=oninapplication/x-www-form-urlencoded- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:219 hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:262
POST /login
- Body markers
username=adminpassword=Cong@2007Secure!inapplication/x-www-form-urlencoded- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:29
POST /package_import.php
- Query
package_location=0preview_only=onremove_orphans=onreplace_svalues=onheader=false- Body markers
__csrf_magic=trust_signer=onsave_component_import=action=saveinapplication/x-www-form-urlencoded- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:293 hn7494213-glitch/CVE-projecttt/reverse_shell_CVE-2024-25641.py:341 hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:336 hn7494213-glitch/CVE-projecttt/web_shell_CVE-2024-25641.py:384
POST /po-admin/route.php
- Query
mod=loginact=procloginmod=settingact=metasocial- Body markers
username=password=meta_content=""inapplication/x-www-form-urlencoded- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/CVE-2023-50011.py:12 hn7494213-glitch/CVE-projecttt/CVE-2023-50011.py:37
POST /tools/direct-install
- Body markers
name="package"inmultipart/form-data- Seen in
- 1 repo: hn7494213-glitch/CVE-projecttt
- Evidence
- hn7494213-glitch/CVE-projecttt/CVE-2025-50286.py:40
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?cmd=id.*cmd=
(?i)^/resource/[^/?#]*\?(?:.*&)?p=.*c=id
(?i)^/resource/[^/?#]*\.php(?:[?#].*)?$
(?i)^/index\.php(?:[?#].*)?$
(?i)^/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-50286 CVE-2025-50286 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"cmd=id"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2025-50286; classtype:web-application-attack; sid:9134838; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-50286 CVE-2025-50286 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/resource/"; http.uri; content:"p="; http.uri; content:"c=id"; reference:url,poc.griffinguard.io/cve/CVE-2025-50286; classtype:web-application-attack; sid:9067244; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-50286 CVE-2025-50286 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/resource/"; http.uri; content:".php"; reference:url,poc.griffinguard.io/cve/CVE-2025-50286; classtype:web-application-attack; sid:9577930; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-50286 CVE-2025-50286 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.request_body; content:"__csrf_magic="; http.request_body; content:"action=login"; http.request_body; content:"login_username="; http.request_body; content:"login_password="; http.request_body; content:"remember_me=on"; reference:url,poc.griffinguard.io/cve/CVE-2025-50286; classtype:web-application-attack; sid:9515916; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-50286 CVE-2025-50286 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/login"; http.request_body; content:"username=admin"; http.request_body; content:"password=Cong@2007Secure!"; reference:url,poc.griffinguard.io/cve/CVE-2025-50286; classtype:web-application-attack; sid:9584931; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: CVE-2025-50286 exploit attempt (CVE-2025-50286)
id: gg-pocmon-cve-2025-50286-9134838
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-50286. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-50286
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'cmd=id'
- 'cmd='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.50286
title: CVE-2025-50286 exploit attempt (CVE-2025-50286)
id: gg-pocmon-cve-2025-50286-9067244
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-50286. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-50286
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/resource/'
cs-uri-query|contains|all:
- 'p='
- 'c=id'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.50286
title: CVE-2025-50286 exploit attempt (CVE-2025-50286)
id: gg-pocmon-cve-2025-50286-9577930
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-50286. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-50286
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/resource/'
- '.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.50286
title: CVE-2025-50286 exploit attempt (CVE-2025-50286)
id: gg-pocmon-cve-2025-50286-9515916
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-50286. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-50286
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/index.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.50286
title: CVE-2025-50286 exploit attempt (CVE-2025-50286)
id: gg-pocmon-cve-2025-50286-9584931
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-50286. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-50286
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.50286