p PatchFirst

CVE-2025-26625

CVE-2025-26625 · Git LFS may write to arbitrary files via crafted symlinks

CVSS 8.6 · Alta · EPSS 1,1% · Corrección disponible

Compara con tu versión instalada

Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.

  • git-lfsSin corrección publicada
  • git-lfs Alpine 3.23Actualiza a 3.7.1-r0
  • git-lfs Alpine 3.24Actualiza a 3.7.1-r0
  • git-lfs Debian 12Actualiza a 3.3.0-1+deb12u2
  • y 7 más

Comprueba la versión instalada:

apk list -I -o git-lfs
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="git-lfs"'

Evalúa los riesgos de tu servidor

La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.

La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.

curl -fsSL https://patchfirst.dev/check.sh | sh
Comprobar tu servidor gratis →

Los canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

Git LFS is a Git extension for versioning large files. In Git LFS versions 0.5.2 through 3.7.0, when populating a Git repository's working tree with the contents of Git LFS objects, certain Git LFS commands may write to files visible outside the current Git working tree if symbolic or hard links exist which collide with the paths of files tracked by Git LFS. The git lfs checkout and git lfs pull commands do not check for symbolic links before writing to files in the working tree, allowing an attacker to craft a repository containing symbolic or hard links that cause Git LFS to write to arbitrary file system locations accessible to the user running these commands. As well, when the git lfs checkout and git lfs pull commands are run in a bare repository, they could write to files visible outside the repository. The vulnerability is fixed in version 3.7.1. As a workaround, support for symlinks in Git may be disabled by setting the core.symlinks configuration option to false, after which further clones and fetches will not create symbolic links. However, any symbolic or hard links in existing repositories will still provide the opportunity for Git LFS to write to their targets.

Publicación
Actualización

Correcciones en distribuciones

  • DLA-4846-1 · Debian 12 ·
  • SUSE-SU-2026:3801-1 · SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2026:21621-1 · openSUSE Leap 16.0 ·
  • openSUSE-SU-2026:21483-1 · openSUSE Leap 16.0 ·
  • DLA-4610-1 · Debian 11 ·
  • USN-7977-1 · Ubuntu 25.10, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
  • RHSA-2026:0472 · Red Hat rhel e4s 9.0 appstream ·
  • RHSA-2026:0465 · Red Hat rhel aus 8.6 appstream, Red Hat rhel e4s 8.6 appstream, Red Hat rhel tus 8.6 appstream ·
  • RHSA-2026:0460 · Red Hat rhel e4s 8.8 appstream, Red Hat rhel tus 8.8 appstream ·
  • RHSA-2026:0459 · Red Hat rhel aus 8.4 appstream, Red Hat rhel eus long life 8.4 appstream ·
  • RHSA-2026:0224 · Red Hat enterprise linux eus 10.0 ·
  • RHSA-2026:0203 · Red Hat rhel e4s 9.2 appstream ·
  • RHSA-2026:0204 · Red Hat rhel eus 9.4 appstream ·
  • RHSA-2026:0199 · Red Hat rhel eus 9.6 appstream ·
  • RHSA-2025:23927 · Red Hat enterprise linux eus 10.0 ·
  • RLSA-2025:23744 · Rocky Linux 9 ·
  • RLSA-2025:23745 · Rocky Linux 8 ·
  • RHSA-2025:23745 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2025:23744 · Red Hat Enterprise Linux 9 appstream ·
  • ALSA-2025:23744 · AlmaLinux 9 ·
  • ALSA-2025:23745 · AlmaLinux 8 ·
  • RLSA-2025:23667 · Rocky Linux 10 ·
  • RHSA-2025:23667 · Red Hat Enterprise Linux 10.1 ·
  • RHSA-2025:23648 · Red Hat rhel eus 9.6 appstream ·
  • ALSA-2025:23667 · AlmaLinux 10 ·
  • openSUSE-SU-2025:15710-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2025:15643-1 · openSUSE Tumbleweed ·

Pila tecnológica: system

Productos y versiones afectados

  • git-lfs

    Versiones
    • >= 0.5.2, < 3.7.1: Afectada

    Sin corrección publicada

  • git-lfs Alpine 3.23

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.7.1-r0

    Actualiza a 3.7.1-r0

  • git-lfs Alpine 3.24

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.7.1-r0

    Actualiza a 3.7.1-r0

  • git-lfs Debian 12

    Versiones
    • 3.3.0-1
    • 3.3.0-1+deb12u1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.3.0-1+deb12u2

    Actualiza a 3.3.0-1+deb12u2

  • git-lfs Debian 13

    Versiones
    • 3.6.1-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.6.1-1+deb13u1

    Actualiza a 3.6.1-1+deb13u1

  • git-lfs Debian 14

    Versiones
    • 3.6.1-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.7.1-1

    Actualiza a 3.7.1-1

  • git-lfs Ubuntu Pro 18.04 LTS

    Versiones
    • 2.2.1-1
    • 2.3.3-1
    • 2.3.4-1
    • 2.3.4-1ubuntu0.1~esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • git-lfs Ubuntu Pro 20.04 LTS

    Versiones
    • 2.8.0-4
    • 2.9.0-1
    • 2.9.1-1
    • 2.9.2-1
    • 2.9.2-1ubuntu0.1~esm2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • git-lfs Ubuntu 22.04 LTS

    Versiones
    • 2.13.2-1
    • 3.0.2-1
    • 3.0.2-1ubuntu0.1
    • 3.0.2-1ubuntu0.2
    • 3.0.2-1ubuntu0.3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • git-lfs Ubuntu Pro 24.04 LTS

    Versiones
    • 3.4.0-1build1
    • 3.4.1-1
    • 3.4.1-1ubuntu0.1
    • 3.4.1-1ubuntu0.2
    • 3.4.1-1ubuntu0.2+esm1
    • 3.4.1-1ubuntu0.3
    Todas las versiones (7)
    • 3.4.1-1ubuntu0.3+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.4.1-1ubuntu0.3+esm2

    Actualiza a 3.4.1-1ubuntu0.3+esm2

  • git-lfs Ubuntu 25.10

    Versiones
    • 3.6.1-1
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.6.1-1ubuntu0.1

    Actualiza a 3.6.1-1ubuntu0.1

Fuentes originales

Comprueba tu servidor →