OESA-2026-2941

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-2941
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-2941.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-2941
Upstream
Published
2026-07-09T12:53:37Z
Modified
2026-07-14T08:15:09.822072110Z
Summary
erlang security update
Details

Erlang is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance. Erlang is used in several large telecommunication systems from Ericsson.

Security Fix(es):

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to modify file attributes outside the configured chroot directory.

The SFTP daemon (sshsftpd) stores the raw, user-supplied path in file handles instead of the chroot-resolved path. When SSHFXP_FSETSTAT is issued on such a handle, file attributes (permissions, ownership, timestamps) are modified on the real filesystem path, bypassing the root directory boundary entirely.

Any authenticated SFTP user on a server configured with the root option can modify file attributes of files outside the intended chroot boundary. The prerequisite is that a target file must exist on the real filesystem at the same relative path. Note that this vulnerability only allows modification of file attributes; file contents cannot be read or altered through this attack vector.

If the SSH daemon runs as root, this enables direct privilege escalation: an attacker can set the setuid bit on any binary, change ownership of sensitive files, or make system configuration world-writable.

This vulnerability is associated with program files lib/ssh/src/sshsftpd.erl and program routines sshsftpd:doopen/4 and sshsftpd:handle_op/4.

This issue affects OTP from OTP 17.0 until OTP 28.4.3, 27.3.4.11, and 26.2.5.20 corresponding to ssh from 3.01 until 5.5.3, 5.2.11.7, and 5.1.4.15.(CVE-2026-32147)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:24.03-LTS-SP3 / erlang

Package

Name
erlang
Purl
pkg:rpm/openEuler/erlang&distro=openEuler-24.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
25.3.2.6-17.oe2403sp3

Ecosystem specific

{
    "aarch64": [
        "erlang-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-asn1-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-common_test-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-compiler-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-crypto-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-debugger-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-debuginfo-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-debugsource-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-dialyzer-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-diameter-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-edoc-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-eldap-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-erl_docgen-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-erl_interface-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-erts-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-et-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-eunit-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-examples-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-ftp-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-inets-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-jinterface-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-kernel-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-megaco-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-mnesia-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-observer-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-odbc-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-os_mon-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-parsetools-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-public_key-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-reltool-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-runtime_tools-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-sasl-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-snmp-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-src-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-ssh-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-ssl-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-stdlib-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-syntax_tools-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-tftp-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-tools-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-wx-25.3.2.6-17.oe2403sp3.aarch64.rpm",
        "erlang-xmerl-25.3.2.6-17.oe2403sp3.aarch64.rpm"
    ],
    "x86_64": [
        "erlang-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-asn1-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-common_test-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-compiler-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-crypto-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-debugger-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-debuginfo-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-debugsource-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-dialyzer-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-diameter-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-edoc-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-eldap-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-erl_docgen-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-erl_interface-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-erts-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-et-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-eunit-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-examples-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-ftp-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-inets-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-jinterface-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-kernel-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-megaco-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-mnesia-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-observer-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-odbc-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-os_mon-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-parsetools-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-public_key-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-reltool-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-runtime_tools-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-sasl-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-snmp-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-src-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-ssh-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-ssl-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-stdlib-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-syntax_tools-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-tftp-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-tools-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-wx-25.3.2.6-17.oe2403sp3.x86_64.rpm",
        "erlang-xmerl-25.3.2.6-17.oe2403sp3.x86_64.rpm"
    ],
    "src": [
        "erlang-25.3.2.6-17.oe2403sp3.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-2941.json"