Security Resilience

CVE-2025-26613

RCE in Wegia ≤ 3.2.14

Published
18 February 2025
Modified
28 February 2025
Patch / advisory
CVSS Score v4 10.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.025 85th percentile
Risk Priority 52 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-26613 is a critical-severity OS Command Injection (CWE-78) vulnerability in Wegia. Its CVSS base score is 10.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 15% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

WeGIA is an open source web manager application aimed at Portuguese-language institutional users. The vulnerability is an OS command injection flaw (CWE-78) present in the gerenciar_backup.php endpoint that permits unauthenticated remote execution of arbitrary operating system commands. It carries a CVSS 4.0 score of 10.0 and is also associated with CWE-284.

An attacker with network access can submit crafted input to the affected endpoint and obtain arbitrary code execution on the server without requiring credentials or user interaction. Successful exploitation grants full control over the application and underlying host, including the ability to read, modify, or delete data and potentially pivot within the environment.

The GitHub Security Advisory GHSA-g3w6-m6w8-p6r2 states that the issue is resolved in WeGIA version 3.2.14 and recommends immediate upgrade, noting that no workarounds are available. The EPSS score rose from a low baseline to a peak of 0.0398, indicating that exploitation interest increased after public disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. An OS Command Injection vulnerability was discovered in the WeGIA application, `gerenciar_backup.php` endpoint. This vulnerability could allow an attacker to execute arbitrary code remotely.…

more

This issue has been addressed in version 3.2.14 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1548.001 Setuid and Setgid Privilege Escalation
An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-27140Same product: Wegia Wegia
CVE-2025-26617Same product: Wegia Wegia
CVE-2025-26608Same product: Wegia Wegia
CVE-2025-26606Same product: Wegia Wegia
CVE-2025-26611Same product: Wegia Wegia
CVE-2025-26609Same product: Wegia Wegia
CVE-2025-26607Same product: Wegia Wegia
CVE-2025-26616Same product: Wegia Wegia
CVE-2025-26615Same product: Wegia Wegia
CVE-2024-57032Same product: Wegia Wegia

Affected Assets

wegia
wegia
≤ 3.2.14

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Directly enforces approved authorizations for logical access, stopping unauthorized actors from reaching resources.

Enforces flow-control policies that restrict information movement between subjects and objects.

Documents duties and assigns access so that no single account can bypass intended restrictions.

Limits each account to the minimum privileges needed, reducing the chance of unauthorized access.

Developer testing and evaluation can discover missing or incorrect command sanitization during development.

Input validation directly neutralizes or rejects special characters that would otherwise alter OS command structure.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

PR.PS-06's SDLC practices directly require secure coding and input handling that blocks command-injection defects, yet the single broad outcome leaves many specific neutralization vectors and verification gaps unaddressed.

PR.PS-02 partial match
blocks

Routine patching/maintenance can remediate known command-injection CVEs in dependencies (partial forward) but does nothing to stop developers from introducing improper neutralization in custom code (none reverse).

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing and code review target insecure use of operating-system command interfaces, catching command-injection flaws introduced during development.

removes

Applied where it was not applied before, A.8.3 mandates access restriction policies, configuration mechanisms, per-identity rights, and isolation — which removes the 'no access control' and 'misconfigured access control' instances of CWE-284. The bounded remainder is code-level enforcement bugs in the product's access control mechanism (ACL parse errors that fail open, privilege-raising without rollback, etc.), which a policy/configuration control does not reach.

finds

A.5.22 monitors supplier compliance and reviews their reports and audit trails, but it does not perform static analysis, dynamic testing, or penetration testing on the supplier's code to discover OS command injection flaws.

finds

Periodic independent assessment of whether documented security objectives and controls are actually implemented and effective can surface missing or bypassed access-control decisions before they are exploited.

finds

Periodic compliance reviews and corrective-action tracking detect and close gaps where access-control rules are not enforced, reducing the window in which improper access control can be exploited.

prevents

Training helps developers understand the risks of unsafe OS command construction and the need for input neutralization, but general awareness training is fallible and less directly applicable than dedicated secure coding practice (A.8.28, graded `partial` against XSS); most OS command injection instances arise from implementation mistakes that awareness alone does not prevent.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-284, a pillar-level weakness. Rules are authored against its narrower children: CWE-749, CWE-1220.

References