Intermesh groupoffice
Group-Office is vulnerable to RCE due to Command Injection via TNEF Attachment Handler
Group-Office is an enterprise customer relationship management and groupware tool. Prior to versions 6.8.150, 25.0.82, and 26.0.5, there is a remote code execution (RCE) vulnerability in Group-Office. The endpoint email/message/tnefAttachmentFromTempFile directly concatenates the user-controlled parameter tmp_file into an exec() call. By injecting shell metacharacters into tmp_file, an authenticated attacker can execute arbitrary system commands on the server. This issue has been patched in versions 6.8.150, 25.0.82, and 26.0.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 6.8.150
- < 25.0.82
- < 26.0.5
Fixed in 6.8.150, 25.0.82, 26.0.5
Mitigation
Upgrade groupoffice to 6.8.150 or 25.0.82 or 26.0.5 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 2 h after publication; not in CISA KEV. First PoC: mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE (created 4 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 suspicious or fake
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE | 4 Feb 2026 +2 h | 0 | PoC |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| NumberOreo1/CVE-2026-25512 | 4 Feb 2026 −11 h | 0 | 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 |
|---|---|---|---|
| nuclei template | nuclei template: Group-Office < 26.0.5 - Remote Code Execution | 5 Feb 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /email/message/tnefAttachmentFromTempFile
- Query
tmp_file=dummy.dat;- Seen in
- 1 repo: mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE
- Evidence
- mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE/groupoffice_cve_2026_25512_poc.py:88
POST /index.php
- Body markers
task=loginusername=password=language=ensecurity_token=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE
- Evidence
- mbanyamer/CVE-2026-25512-PoC-Group-Office-Authenticated-RCE/groupoffice_cve_2026_25512_poc.py:60
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/email/message/tnefAttachmentFromTempFile\?(?:.*&)?tmp_file=dummy\.dat;
(?i)^/index\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25512 Intermesh groupoffice exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/email/message/tnefAttachmentFromTempFile"; http.uri; content:"tmp_file=dummy.dat|3b|"; reference:url,poc.griffinguard.io/cve/CVE-2026-25512; classtype:web-application-attack; sid:9013758; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-25512 Intermesh groupoffice exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.request_body; content:"task=login"; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"language=en"; http.request_body; content:"security_token="; reference:url,poc.griffinguard.io/cve/CVE-2026-25512; classtype:web-application-attack; sid:9346809; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Intermesh groupoffice exploit attempt (CVE-2026-25512)
id: gg-pocmon-cve-2026-25512-9013758
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25512. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25512
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/email/message/tnefAttachmentFromTempFile'
cs-uri-query|contains|all:
- 'tmp_file=dummy.dat;'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25512
title: Intermesh groupoffice exploit attempt (CVE-2026-25512)
id: gg-pocmon-cve-2026-25512-9346809
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-25512. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-25512
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/index.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.25512