Skip to main content

Geany EUVDEUVD-2026-129360

| CVE-2026-132756 HIGH
OS Command Injection (CWE-78)
2026-11-18 VulnCheck GHSA-f39r-fvgx-3c5v
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver file with crafted name to victim
  2. Delivery
    Victim opens project/file in Geany
  3. Exploit
    User runs Compile/Build/Execute
  4. Execution
    Filename metacharacters expand via /bin/sh
  5. Impact
    Arbitrary command execution as the user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an attacker-controlled file whose name contains shell metacharacters (backticks or $(...)) to be present locally and opened in Geany (≤ 2.1.0), and the victim must then invoke the Compile, Build, or Execute action, at which point Geany substitutes the filename into a command executed by /bin/sh. The trigger is thus the build/execute filename-substitution path in utils.c/build.c. Limiting factors: the attack is local (AV:L) and needs user interaction (the victim must open the file and start a build/execute), so it cannot be fired remotely against a default install without that user action; exposure is concentrated on developer workstations that open untrusted files/projects.

Impact

The input vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H (score 8.5) describes a local, low-complexity flaw whose only gating factor is passive user interaction: the victim must open a maliciously-named file in Geany and invoke Compile, Build or Execute. Impact is high across confidentiality, integrity and availability because the result is arbitrary shell command execution as the running user. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-not-fire-drill priority. No EPSS score and no CISA KEV status are provided in the input, and no PoC is explicitly flagged as confirmed working exploit code - so there is no evidence of active, widespread exploitation; the realistic threat is targeted social-engineering (tricking a developer into opening an attacker-supplied file/project). This is a genuine code-execution issue rather than a high-CVSS-but-low-real-risk paper cut, but the local attack vector plus required user interaction meaningfully limit mass exploitation. Conflicting/missing data to note: EPSS and KEV are absent from the input, so exploitation probability cannot be quantified; and while the CVSS 4.0 vector uses PR:N (unauthenticated), the mechanism is really dependent on local file delivery and a user action, so the 'network-wide unauthenticated' intuition does not apply - treat it as local operator-triggered.

Exploit ScenarioDerived

An attacker distributes a source archive, Git repository, or shared folder containing a file whose name embeds shell metacharacters (e.g. backticks or $(...)). A developer opens the project in Geany and clicks Compile, Build, or Execute; Geany substitutes the filename into a command string run via /bin/sh, so the embedded command executes with the developer's privileges. The GitHub issue (#4611) and VulnCheck advisory describe this mechanism, but the input does not flag a confirmed working exploit, so treat PoC maturity as the issue/advisory writeups rather than packaged exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

OS command injection in Geany through 2.1.0 lets a file whose name contains shell metacharacters such as backticks or $(...) execute arbitrary commands as the user once the Compile, Build or Execute action is invoked. The attack is local and unauthenticated per the supplied vector (PR:N), gated only by user interaction: the victim must open the maliciously named file in the editor and start a build or execute action, at which point Geany substitutes the filename into a command run by /bin/sh. No public exploit code is identified at time of analysis and there is no CISA KEV entry, but the impact is full code execution in the user's context, so exposure is concentrated on developer workstations that open untrusted files or projects.

RemediationAI

No vendor-released patch or fixed version is identified in the available data; the status should be tracked through the upstream issue at https://github.com/geany/geany/issues/4611 and the VulnCheck advisory at https://www.vulncheck.com/advisories/geany-through-2.1.0-os-command-injection-via-filename-in-build-commands. Because the trigger is filename substitution into the Compile, Build and Execute command templates, the practical containment is to prevent attacker-controlled names from reaching that path: do not open untrusted files, archives or projects in Geany until a fix is available, and rename any file containing backticks, $(...), or other shell metacharacters before invoking a build or execute action, accepting the trade-off that this breaks normal build workflows for such files. Reviewing and overriding the build command templates so the filename is passed as a quoted or escaped argument reduces exposure but requires per-project configuration and still depends on the user not restoring the default templates. These measures only reduce reachability of the substitution path; they do not repair the underlying CWE-78 flaw, so the complete fix remains an upstream code change that neutralizes the filename before it is handed to /bin/sh.

Affected VersionsENISA

geany 0 ≤2.1.0

Affected Packages

euvd geany no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Geany is a lightweight GTK-based integrated development environment whose build system constructs shell command lines from configurable templates, substituting the current filename (%f) into Compile, Build and Execute actions before handing the string to the shell. The references point at the substitution path in src/utils.c (lines 2561-2610) and the command construction in src/build.c (lines 1100-1111) in the 2.1.0 tree, where a filename containing backtick or $(...) command substitution syntax is passed through unescaped to /bin/sh, so the embedded command executes instead of being treated as literal text. The root cause is CWE-78 (improper neutralization of special elements used in an OS command), i.e. missing quoting/escaping of an attacker-influenced name before shell interpretation rather than a flaw in the compiler or the shell itself. The CPE cpe:2.3:a:geany:geany:*:*:*:*:*:*:*:* is a wildcard covering all versions up to and including 2.1.0; the advisory describes the issue as affecting Geany through 2.1.0. The trigger is the build/execute filename-substitution path itself, and exploitation is confirmed to require that a file with a crafted name exists locally and is opened in Geany before the user initiates a build or execute action.

Know when Geany gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Local because a malicious filename must exist and the user must run a build/execute (UI:R); no prior auth needed (PR:N); result is full command execution as the user, so C/I/A:H.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Geany through 2.1.0 contains an OS command injection vulnerability that allows attackers to run shell commands by embedding metacharacters in filenames substituted into build and execute commands. Attackers can craft a file named with backticks or $(...) that executes via /bin/sh when a user runs Compile, Build or Execute, gaining code execution as the user.

Executive ViewAI

Why It Matters

CVE-2026-132756 is a high-severity OS command injection vulnerability in the Geany text editor through version 2.1.0. A local attacker can craft a file with a malicious filename that, when opened and built or executed by a developer, runs arbitrary commands with the user's privileges. This puts developer workstations at risk of full compromise, potentially leading to unauthorized access, data loss, and lateral movement within the organization.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: avoid opening files with shell metacharacters in their names (e.g., backticks, $(), ;, &), use an alternative editor for untrusted files, disable or restrict compile/build/execute actions in Geany until a patch is available, and implement application whitelisting to limit the impact of arbitrary command execution.

Threat Intelligence Overview

EPSS Score
0.7%
Top 46% exploitable
Prevalence
Medium
popular lightweight cross-platform GTK IDE, moderate developer footprint, not enterprise-ubiquitous
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

43
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy