DHI-mypu-ac5a-ogj3-ro2e

Source
https://scout.docker.com/v/DHI-mypu-ac5a-ogj3-ro2e
Import Source
https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mypu-ac5a-ogj3-ro2e.json
JSON Data
https://api.osv.dev/v1/vulns/DHI-mypu-ac5a-ogj3-ro2e
Upstream
  • CVE-2026-5958
Published
2026-11-20T18:08:38Z
Modified
2026-11-21T17:30:16Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/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 CVSS Calculator
Summary
When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function open_next_file() performs two…
Details

When sed is invoked with both -i (in-place edit) and --follow-symlinks, the function open_next_file() performs two separate, non-atomic filesystem operations on the same path:

  1. resolves symlink to its target and stores the resolved path for determining when output is written,
  2. opens the original symlink path (not the resolved one) to read the file. Between these two calls there is a race window. If an attacker atomically replaces the symlink with a different target during that window, sed will: read content from the new (attacker-chosen) symlink target and write the processed result to the path recorded in step 1. This can lead to arbitrary file overwrite with attacker-controlled content in the context of the sed process.

This issue was fixed in version 4.10.

Database specific
{
    "coverage":  "partial",
    "coverage_exclusions":  [
        "legacy_package_image_owner"
    ]
}
References

Affected packages

Docker Hardened Images:Debian:13 / sed

Package

Name
sed
Purl
pkg:deb/dhi/sed

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.9-2+deb13u1+dhi1

Affected versions

4.*
4.9-2dhi0
4.9-2+deb13u1dhi0

Database specific

owner_kind
"HSP"
source
"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-mypu-ac5a-ogj3-ro2e.json"