cve.bz

CVE-2025-27613 j6t gitk: OS Command Injection

3.6 lowEPSS 0.6%

Low (3.6) in j6t gitk. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when a user clones an untrusted repository and runs gitk without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default. The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not). This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.

Severity

CVSS 3.1

3.6 low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-07-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-27613 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-27613?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-27613?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-27613 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
j6t gitk>= 1.7.0, < 2.43.7
j6t gitk>= 2.44.0, < 2.44.4
j6t gitk>= 2.45.0, < 2.45.4
j6t gitk>= 2.46.0, < 2.46.4
j6t gitk>= 2.47.0, < 2.47.3
j6t gitk>= 2.48.0, < 2.48.2
j6t gitk>= 2.49.0, < 2.49.1
j6t gitk>= 2.50.0, < 2.50.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11git1:2.30.2-1+deb11u5DLA-4323-1
Debian12git1:2.39.5-0+deb12u3DEBIAN-CVE-2025-27613
Debian13git1:2.47.3-0+deb13u1DEBIAN-CVE-2025-27613
Debian14git1:2.50.1-0.1DEBIAN-CVE-2025-27613
Ubuntu22.04:LTSgit1:2.34.1-1ubuntu1.15UBUNTU-CVE-2025-27613 USN-7626-1
Ubuntu24.04:LTSgit1:2.43.0-1ubuntu7.3UBUNTU-CVE-2025-27613 USN-7626-1
UbuntuPro:16.04:LTSgit1:2.7.4-0ubuntu1.10+esm11UBUNTU-CVE-2025-27613 USN-7626-1
UbuntuPro:18.04:LTSgit1:2.17.1-1ubuntu0.18+esm4UBUNTU-CVE-2025-27613 USN-7626-1
UbuntuPro:20.04:LTSgit1:2.25.1-1ubuntu3.14+esm3UBUNTU-CVE-2025-27613 USN-7626-1
Red Hatenterprise_linux:8::appstreamgit, gitk, gitweb and 17 more0:2.43.7-1.el8_10RHSA-2025:11534
Red Hatenterprise_linux:9::appstreamgit, gitk, gitweb and 17 more0:2.47.3-1.el9_6RHSA-2025:11462
Red Hatenterprise_linux:10.0git, gitk, gitweb and 17 more0:2.47.3-1.el10_0RHSA-2025:11533
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 12 moregit2.43.7-150300.10.51.1SUSE-SU-2025:03037-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Development Tools 15 SP6 and 1 moregit2.51.0-150600.3.12.1SUSE-SU-2025:03012-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7git-lfs3.7.0-150600.13.3.1SUSE-SU-2025:03012-1
SUSELinux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Development Tools 15 SP7obs-scm-bridge0.7.4-150600.14.4.1SUSE-SU-2025:03012-1
SUSELinux Enterprise Module for Python 3 15 SP6, Linux Enterprise Module for Python 3 15 SP7python-PyYAML6.0.2-150600.10.3.1SUSE-SU-2025:03012-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5git2.26.2-27.81.1SUSE-SU-2025:03022-1
SUSELinux Micro 6.0git2.51.0-1.1SUSE-SU-2025:20721-1
SUSELinux Micro 6.1git2.51.0-slfo.1.1_1.1SUSE-SU-2025:20855-1
openSUSELeap 15.6git2.51.0-150600.3.12.1SUSE-SU-2025:03012-1
openSUSELeap 15.6git-lfs3.7.0-150600.13.3.1SUSE-SU-2025:03012-1
openSUSELeap 15.6obs-scm-bridge0.7.4-150600.14.4.1SUSE-SU-2025:03012-1
openSUSELeap 15.6python-PyYAML6.0.2-150600.10.3.1SUSE-SU-2025:03012-1
openSUSETumbleweedgit2.50.1-1.1openSUSE-SU-2025:15337-1
AlmaLinux8git, gitk, gitweb and 12 more2.43.7-1.el8_10ALSA-2025:11534
AlmaLinux9git, gitk, gitweb and 12 more2.47.3-1.el9_6ALSA-2025:11462
AlmaLinux10gitk, gitweb, git-all and 8 more2.47.3-1.el10_0ALSA-2025:11533
Rocky Linux8git0:2.43.7-1.el8_10RLSA-2025:11534
Rocky Linux9git0:2.47.3-1.el9_6RLSA-2025:11462
Alpinev3.19git2.43.7-r0ALPINE-CVE-2025-27613
Alpinev3.20git2.45.4-r0ALPINE-CVE-2025-27613
Alpinev3.21git2.47.3-r0ALPINE-CVE-2025-27613
Alpinev3.22git2.49.1-r0ALPINE-CVE-2025-27613
Alpinev3.23, v3.24git2.50.1-r0ALPINE-CVE-2025-27613
Azure Linux2git2.40.4-2AZL-65073
Azure Linux3git2.45.4-1AZL-65076
Alpaquita23git2.43.7-r0BELL-CVE-2025-27613
Alpaquita25git2.49.1-r0BELL-CVE-2025-27613
Alpaquitastreamgit2.50.1-r0BELL-CVE-2025-27613

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The Red Hat Product Security team rated this vulnerability as having a Moderate security impact. Exploitation depends on a non-default option being enabled and the user being tricked into cloning the untrusted repository or using the "Show origin of this line" command in the main window.

Red Hat's mitigation

As a workaround, ensure that the option "Support per-file encoding" in Gitk's Preferences is disabled, and do not use the "Show origin of this line" command, which is affected regardless of that option. In addition, do not use gitk to view repositories from untrusted sources, or stop using gitk entirely.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10git-0:2.47.3-1.el10_0Fixed 2025-07-22RHSA-2025:11533
Red Hat Enterprise Linux 8git-0:2.43.7-1.el8_10Fixed 2025-07-23RHSA-2025:11534
Red Hat Enterprise Linux 9git-0:2.47.3-1.el9_6Fixed 2025-07-21RHSA-2025:11462
Red Hat Enterprise Linux 6gitOut of support scope
Red Hat Enterprise Linux 7gitOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-27613.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON