BreachSpiderVerified, not vibes

CVE-2023-4091 in Fedoraproject Fedora and 4 more products

Medium 6.5

A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implici...

Affects 5 products from 3 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS1.4%
EPSS percentile73th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Fedoraproject Fedora 39
Redhat Enterprise Linux 8.0
Redhat Enterprise Linux Eus 9.0
Redhat Storage 3.0
Samba Samba < 4.17.12 ≥ 4.18.0, < 4.18.8 ≥ 4.19.0, < 4.19.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

A vulnerability was discovered in Samba, where the flaw allows SMB clients to truncate files, even with read-only permissions when the Samba VFS module "acl_xattr" is configured with "acl_xattr:ignore system acls = yes". The SMB protocol allows opening files when the client requests read-only access but then implicitly truncates the opened file to 0 bytes if the client specifies a separate OVERWRITE create disposition request. The issue arises in configurations that bypass kernel file system permissions checks, relying solely on Samba's permissions.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-4091
BreachSpider IDBS-2023-GLOBAL-054687-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published2023-11-03
Last modified2026-11-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-276: Incorrect Default Permissions

Software sets overly permissive default access rights during installation or resource creation.

Related attack patterns (CAPEC)

CAPEC-81 Web Server Logs Tampering via CWE-276

CAPEC-127 Directory Indexing via CWE-276

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Samba allows SMB clients to truncate files with read-only permissions when the 'acl_xattr' VFS module is configured with 'acl_xattr:ignore system acls = yes'. This can lead to data loss and unauthorized modifications.

The attack vector involves an SMB client requesting read-only access to a file but then using the OVERWRITE flag to truncate the file to 0 bytes. This is possible due to a misconfiguration in the 'acl_xattr' VFS module.

Questions

What is CVE-2023-4091?

A vulnerability in Samba allows SMB clients to truncate files with read-only permissions when the 'acl_xattr' VFS module is configured with 'acl_xattr:ignore system acls = yes'. This can lead to data loss and unauthorized modifications.

What is the CVSS score for CVE-2023-4091?

CVE-2023-4091 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.4%.

Is CVE-2023-4091 actively exploited?

No confirmed active exploitation of CVE-2023-4091 as of 2026-11-27.

How do I remediate CVE-2023-4091?

Priority: MEDIUM. Advisory: https://access.redhat.com/errata/RHSA-2023:6209

What systems are affected by CVE-2023-4091?

CVE-2023-4091 affects Fedoraproject Fedora; Redhat Enterprise Linux, Enterprise Linux Eus, Storage; Samba Samba.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.