> CVE-2026-25121 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-02-04 19:16
MODIFIED
2026-02-04 19:16
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.42%
Top 64.8%
DATA SOURCES:
NVD đź”— 2026-02-04 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-28 OSV đź”— 2026-02-10

> DESCRIPTION

apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.1, a path traversal vulnerability was discovered in apko's dirFS filesystem abstraction. An attacker who can supply a malicious APK package (e.g., via a compromised or typosquatted repository) could create directories or symlinks outside the intended installation root. The MkdirAll, Mkdir, and Symlink methods in pkg/apk/fs/rwosfs.go use filepath.Join() without validating that the resulting path stays within the base directory. This issue has been patched in version 1.1.1.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EXPLOITABILITY
3.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-23

> CWE DETAILED DESCRIPTIONS

CWE-23: Relative Path Traversal - The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.

> GITHUB SECURITY ADVISORY

GHSA-5g94-c2wx-8pxw HIGH

apko has a path traversal in apko dirFS which allows filesystem writes outside base

AFFECTED PACKAGES:
GO / chainguard.dev/apko
>= 0.14.8, < 1.1.0
Fixed in: 1.1.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside base

AFFECTED PACKAGES:
Unknown / Unknown
105 versions affected
ALIASES:
GHSA-5g94-c2wx-8pxw, GO-2026-4405

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/02/2026 19:16
Source: NVD
📊 ENRICHISSEMENT 01/03/2026 06:46
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-23: Relative Path Traversal - The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that ...
Total des modifications: 1 Dernière mise à jour: 8 months ago

> REFERENCES

https://github.com/chainguard-dev/apko/commit/d8b7887a968a527791b3c591ae83928cb4...
https://github.com/chainguard-dev/apko/security/advisories/GHSA-5g94-c2wx-8pxw
« BACK_TO_HOME