Menu

Star on GitHub · 3.2k

CVE-2026-64298

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: NFSv4: include MAY_WRITE in open permission mask for O_TRUNC POSIX requires write permission to truncate a file, so an open() t…

Published Jul 25, 2026EPSS 0.16%

Overview

CVE-2026-64298 is a high-severity vulnerability. It was published on July 25, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

NFSv4: include MAY_WRITE in open permission mask for O_TRUNC

POSIX requires write permission to truncate a file, so an open() that

specifies O_TRUNC must be authorized for write access regardless of the

O_ACCMODE access mode.

nfs_open_permission_mask() builds the access mask passed to

nfs_may_open(), which is the local authorization gate for OPENs the

client serves itself from a cached write delegation via the

can_open_delegated() path in nfs4_try_open_cached(). The mask is

derived from O_ACCMODE alone, so an open(O_RDONLY | O_TRUNC) against a

file the caller cannot write requests only MAY_READ and passes the

local check. The OPEN is then satisfied locally and the truncation is

issued to the server as a SETATTR(size=0) over the delegation stateid,

which the server accepts under standard write-delegation semantics.

POSIX requires that this open fail with EACCES.

Include MAY_WRITE in the mask whenever O_TRUNC is se

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-64298?

CVE-2026-64298 is a high-severity vulnerability. It was published on July 25, 2026 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2026-64298?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-64298?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-64298?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-64298 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all