Where
-Infinity
0

-------- Forwarded Message -------- Subject: Heads-up: Upcoming Samba security releases on 2026-12-10 Date: Tue, 1 Dec 2026 23:17:09 +0100 From: Björn Jacke via samba-announce <samba-announce () lists samba org> Reply-To: Björn Jacke <bjacke () samba org> To: samba-announce () lists samba org, samba () lists samba org, samba-technical () lists samba org

Hi,

this is a heads-up that Samba security updates for 4.23, 4.24 and 4.25 are scheduled for 2026-12-10.

Details will be published along with the security releases.

Please make sure that your Samba servers will be updated soon after the release!

Cheers Björn -- Björn Jacke Release Manager Samba Team samba.org

Severity
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

A type confusion has been found in the ldapsrvdocall() function in ldapbackend.c of the LDAP server in the Samba package. The function reads an extended response as an extended request while checking a connection that has not authenticated. A network attacker or user sends an extended response as the first LDAP message. The process that accepted the connection also serves other LDAP clients. That process exits, which disconnects those clients, and the directory starts a replacement process. Sending the message again crashes the replacement, and each further crash waits longer before the next replacement starts, so repeating the message keeps the LDAP service from staying available.

1 / 2
Source: MITRE
First published (updated )
Severity
7

ldapsrvdocall() in source4/ldapserver/ldapbackend.c uses the wrong message tag in the check that decides whether to log a connection that has not bound. When authzlogged is false, the arm labeled LDAPTAGExtendedResponse reads call->request->r.ExtendedRequest and calls strcmp() on oid.

ldapdecode() in libcli/ldap/ldapmessage.c stores an extended response in r.ExtendedResponse. ldapdecoderesponse() writes the result code into the ldapResult at the start of that arm. The oid field of ldapExtendedRequest occupies those same leading bytes. ldapsrvcallreaddone() decodes the packet and queues the call. ldapsrvprocesscalltrigger() calls ldapsrvdocall() with no bind check. The connection is allocated with talloczero(), so authzlogged is false for the first message. A later switch in ldapsrvdocall() calls ldapsrvExtendedRequest() for LDAPTAGExtendedRequest and calls ldapsrvunwilling() for a tag it does not list. The logging check runs before that switch. The wrong tag is present in samba 4.7.0rc1, in samba 4.25.1, and on the current master branch.

strcmp() dereferences the value in those leading bytes. Those bytes hold the result code and the alignment padding after it. They are not an OID string. The dereference faults the ldap worker. faultsetup() installs sigfault() for SIGSEGV, sigfault() calls faultreport(), and faultreport() calls smbpanic(), which aborts the worker. In the default prefork model the ldap service has its own master and workers, and each worker serves more than one client connection. Those connections end when the process exits. The prefork master starts a replacement worker. The first restart delay is 0. Each later exit of that worker adds the prefork backoff increment to the delay, up to the prefork maximum backoff. Those defaults are 10 seconds and 120 seconds. The default number of prefork children is 4. A caller who repeats the extended response can exit the ldap workers and leave them stopped for that delay. The rpc and kdc services are separate prefork services.

The caller is not authenticated. The logging check runs while authzlogged is false, which is the state of a new connection. The message is an LDAP extended response, and it is the first message on the connection.

The flaw is reachable in the default configuration of an AD DC. The serviceldap module is built when the AD DC build is enabled. ldapsrvtaskinit() starts the LDAP server only when the server role is an Active Directory domain controller, and that server listens on port 389. The default server services list includes ldap, and the samba process model defaults to prefork.

Introduced in samba 4.7.0rc1 by commit f4a4522d1f8c19fdf142e12760160b15de1557ec (Andrew Bartlett, 3 March 2017), when logging of LDAP access before a bind was added. The wrong tag has been in that logging check since that commit. It is present in samba 4.7.0rc1, in samba 4.7.0, in samba 4.25.1, and on the current master branch. samba 4.6.16 does not contain the commit.

First published (updated )
Severity
4.3
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

A missing authorization check has been found in the ldbmatchbitmask() function in ldbmatch.c of the LDAP matching module in the libldb library of Samba. The directory marks an attribute the caller is not allowed to read, and the bitwise comparison uses that value anyway. A low-privileged network attacker or user who can list a directory object searches for one bit of an integer attribute on that object. The directory includes the object when that bit is set, and it removes the attribute from the answer. Repeating the search for each bit discloses the integer. A value that is not an integer, including a password or a key stored as bytes, is not returned as a number.

1 / 2
Source: MITRE
First published (updated )
Severity
4

ldbmatchbitmask() in lib/ldb/common/ldbmatch.c does not check whether the attribute it compares is inaccessible. ldbmatchmessage() skips ldbmustsuppressmatch() when the filter operation is LDBOPEXTENDED. The bitwise rules are that operation. Their callback is ldbmatchbitmask().

A search unpacks the record and calls the redact callback before the match. On an AD DC that callback is aclredactmsgforfilter() in source4/dsdb/samdb/ldbmodules/aclread.c. For an attribute named in the filter, aclredactattr() calls ldbmsgelementmarkinaccessible() when the caller lacks the access mask. A confidential attribute requires control access in addition to read property. A secret attribute is marked inaccessible for every caller. ldbmatchbitmask() then finds the element and calls ldbcomparatorbitmask(). That function parses the stored bytes and the filter value with strtoull(). The AND rule matches when every bit in the filter value is set in the stored value. The OR rule matches when any bit is set. The entry is selected when the comparison matches. aclreadcallback() later removes inaccessible values from the entry it sends on. A stored value that is not an integer makes ldbcomparatorbitmask() return LDBERRINVALIDATTRIBUTESYNTAX. A missing value does not match. ldbkvsearchandreturnbase() returns that syntax error. The full search stores LDBERROPERATIONSERROR.

The caller learns the integer. Each bit of an unreadable integer attribute selects or skips the entry, and the value is removed from the entry afterwards. msKds-CreateTime and msKds-UseStartTime are large integers, and msKds-Version is an integer. Provision stores them as decimal strings on the root key. msKds-RootKeyData is an octet string. The comparator does not return those bytes. The same comparison is the one that reports the syntax error when a non-integer value is present.

The caller is authenticated. aclreadcheckobjectvisible() allows the object when the caller has list rights on the parent. The container class default descriptor grants Authenticated Users read property and list contents. The root key class default descriptor grants read to Domain Admins, Enterprise Admins, and the system account. It does not grant that read to Authenticated Users. A confidential attribute also requires control access, which that user does not have, so the attribute is marked inaccessible. The search has no Domain Admin check.

The flaw is reachable in the default configuration of an AD DC. ldbinit() registers both bitwise rules. The acl search parameter defaults to true. The stock schema sets SEARCHFLAGCONFIDENTIAL on msKds-CreateTime, msKds-UseStartTime, and msKds-Version. Provision creates the root key that holds them.

Introduced on 14 February 2023 by Joseph Sutton in commit 9f31e4139c12262f5626108c6a883f07c4dd314e, "CVE-2023-0614 ldb: Centralise checking for inaccessible matches". The same change is in samba 4.16.10 (commit d60683e5e9daf243e9a2acc203b567c3a6c92567, ldb 2.5.3), samba 4.17.7 (commit b98f8c1af7770b49a447fdcc67ea64d98454955f, ldb 2.6.2), and samba 4.18.1 (commit 358894675d188b06cc0d24299012c898b394f99f, ldb 2.7.2). It is not in samba 4.16.9, samba 4.17.6, samba 4.18.0, or the 4.15 line through samba 4.15.13. It is present in samba 4.25.1 and on the current master branch.

First published (updated )
Severity
6.5
Null Pointer Dereference
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

A NULL pointer dereference flaw has been found in the aclcheckdnshostname() and aclvalidatespnvalue() functions in source4/dsdb/samdb/ldbmodules/acl.c of the Active Directory domain controller ACL module in the Samba package. The checks read the account name after a request that removes it, and they do not test that the value is present. A low-privileged network attacker or user who can update the DNS host name or service principal name of their own computer account can include a removal of sAMAccountName in that same LDAP modify. The directory process crashes. Repeating the modify keeps the directory service unavailable.

First published (updated )
Severity
6.5
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

(A Type Confusion has been found in the dnstodnspconvert() funct ...)

1 / 3
Source: OSV
First published (updated )
Severity
4

dnstodnspconvert() in source4/rpcserver/dnsserver/dnsdata.c has no conversion for DNSTYPEHINFO. The default arm copies the request union onto the stored union with memcpy() of sizeof(union dnsRecordData).

DnssrvUpdateRecord() and DnssrvUpdateRecord2() call dnsserverupdaterecord(). An add, which supplies a record and no record to delete, calls dnsserverdbaddrecord(). That function calls dnstodnspconvert(), which copies dns->wType onto dnsp->wType and then takes the default arm for HINFO. The request arm is a DNSRPCNAME, a length and one string. The stored arm is a dnsphinfo, the strings cpu and os. The memcpy does not build those two strings from the name. dnsserverupdatesoa() then modifies the zone SOA record. When that modify is allowed, a new name is passed to dnsserverdbdoaddrec(), and an existing name is pushed later in dnsserverdbaddrecord(). Both pushes call ndrpushdnspDnssrvRpcRecord(). The HINFO arm pushes cpu through ndrpushdnspstring(), and that function calls strlen() on cpu. An update or a delete also calls dnstodnspconvert(). dnsrecordmatch() returns false for HINFO without reading cpu or os, so those two paths return before the push. This path is the same from samba 4.0.0alpha18 through samba 4.25.1 and on the current master branch.

strlen() on cpu faults the rpc worker process. In the default prefork model the rpc service has its own master and workers, and each worker serves more than one client connection. Those connections end when the process exits. The prefork master starts a replacement worker. The first restart delay is 0. Each later exit of that worker adds the prefork backoff increment to the delay, up to the prefork maximum backoff. Those defaults are 10 seconds and 120 seconds. A caller who repeats the add can exit the rpc workers and leave them stopped for that delay. The ldap and kdc services are separate prefork services.

The caller is authenticated. dcesrvinterfacednsserverbind() requires connection integrity, and dcesrvsamdbconnectasuser() opens the directory as that caller. The add reaches the push only when dnsserverupdatesoa() can modify the zone SOA. The default MicrosoftDNS descriptor grants that write to Domain Admins and DnsAdmins. The name being added can be new or already present, and the record type is HINFO.

The flaw is reachable in the default configuration of an AD DC. The dcerpcdnsserver module is built when the AD DC build is enabled. Provision writes the descriptor named above. The samba process model defaults to prefork, and the default server services list includes rpc.

Introduced in samba 4.0.0alpha18 by commit 8df2ed42cc4662bd385ea34169ebd3bcd4d8bc17 (Amitay Isaacs, 27 September 2011), when the DCERPC DNS server was added. The default memcpy has been in dnstodnspconvert() since that commit. It is present in samba 4.0.0, in samba 4.25.1, and on the current master branch.

First published (updated )
Severity
4

vlvvaluecompare() in source4/dsdb/samdb/ldbmodules/vlvpagination.c looks up the sort attribute with ldbmsgfindelement() and passes el->values[0] to the attribute comparison function. The element pointer is used with no check that the lookup found an element.

A greater-than-or-equal Virtual List View search, control type 1, reaches this function from vlvresults() through vlvgteqtoindex(). The helper binary-searches the GUID list for that search. Each comparison looks the GUID up again and requests the sort attribute. serversort keeps an entry that has no value for the sort attribute and places that entry after entries that have a value, so the GUID stays in the list. The comparison lookup finds no element when the attribute is absent. It also finds no element when aclread has marked the attribute inaccessible and ldbmsgremoveinaccessible() has removed it, which is what happens when the caller cannot read the attribute. vlvvaluecompare() then reads el->values[0]. This path is the same from samba 4.5.0 through samba 4.25.1 and on the current master branch.

The read faults the LDAP worker process. In the default prefork model that worker serves multiple client connections, and those connections end when the process exits. The prefork master starts a replacement worker. The first restart delay is 0. Each later exit of that worker adds the prefork backoff increment to the delay, up to the prefork maximum backoff. Those defaults are 10 seconds and 120 seconds. A caller who repeats the search can exit the LDAP workers and leave them stopped for that delay.

The caller is authenticated and can search at least one directory object. rootdsefilteroperations() permits an anonymous operation only for a base-scoped search of an empty DN, unless dSHeuristics turns that block off. The search uses a server-side sort control and a greater-than-or-equal Virtual List View control. At least one returned object lacks the sort attribute, or the caller cannot read it.

The flaw is reachable in the default configuration. The vlv module is in the default sambadsdb module list. The acl search check defaults to enabled. The samba process model defaults to prefork.

Introduced in samba 4.5.0 by commit 79c58c2543790134ef8deb5307ec4b4ae069ea61 (Douglas Bagnall, 22 March 2016), when Virtual List View support was added. The unchecked use of el->values[0] has been in the function since that commit.

vlvvaluecomparerev() calls vlvvaluecompare() and returns the negated comparison, so a reverse greater-than-or-equal search uses the same missing element.

First published (updated )
Severity
6.5
Null Pointer Dereference
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

(A NULL pointer dereference flaw has been found in the vlvvalueco ...)

1 / 3
Source: OSV
First published (updated )

Rejected reason: This CVE has been rejected by Upstream. Ref: https://bugzilla.samba.org/showbug.cgi?id=16047#c4

First published (updated )
Severity
6.5
Null Pointer Dereference
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

(A NULL pointer dereference flaw has been found in the aclcheckdn ...)

1 / 3
Source: OSV
First published (updated )
Severity
4

The aclcheckdnshostname() function and the aclvalidatespnvalue() function in source4/dsdb/samdb/ldbmodules/acl.c read samAccountName->length without testing that the pointer is NULL. dsdbmsggetsinglevalue() in source4/dsdb/samdb/ldbmodules/util.c supplies that pointer.

On an LDAP modify, dsdbmsggetsinglevalue() starts from the sAMAccountName stored on the object. A delete of sAMAccountName in the same request, or a replace with no values, makes the function return success and a NULL pointer. aclmodify() walks the attributes in the order the client sent them. A validated write of dNSHostName or servicePrincipalName is checked while that NULL pointer is already the account-name value, and before the write-property check on the sAMAccountName element. The acl module is loaded ahead of samldb and objectclassattrs, which are the modules that reject removal of a mandatory sAMAccountName. On an add, the same helper returns NULL when the new object does not contain sAMAccountName. In aclvalidatespnvalue(), the dnsHostName and original dnsHostName pointers are tested before use. The sAMAccountName pointer is not.

The process handling the LDAP request terminates. The AD DC restarts that LDAP process. Repeating the request crashes it again, so the directory service stays unavailable for as long as the requests continue. The stored object is left unchanged because the fault happens before the modify is committed.

The caller is an authenticated domain principal that can perform a validated write of dNSHostName or servicePrincipalName on a computer object. The default computer class security descriptor grants that self-write to Principal Self and Creator Owner. A domain-joined computer has this right on its own account. The same request deletes sAMAccountName or replaces it with no values. Write property on the object is not required. A caller who already has write property returns before the read.

The modify path is reachable on a Samba AD DC in the default configuration.

The unchecked read was added with the validated-write work for CVE-2022-32743. Joseph Sutton added the dNSHostName read in commit b95431ab2303eb258e37e88d8841f2fb79fc4af5 on 2022-06-01, and the servicePrincipalName read in commit e1c52ac05a9ff505d2e5eac2f1ece4e95844ee71 on 2022-06-07. dsdbmsggetsinglevalue() was added in commit 49ac07e786df58b914ee85e2db773c0ba8d4e171 on 2022-06-07. Samba 4.17.0, released on 2022-09-13, is the first release that contains the code. The same read is absent from Samba 4.16.4, 4.15.9, and 4.14.14.

aclcheckspn() calls aclvalidatespnvalue() for servicePrincipalName. aclcheckdnshostname() has the same unchecked read for dNSHostName.

First published (updated )
Severity
5.9
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

An incorrect child count after a failed fork issue has been found in the smbdacceptconnection() function in source3/smbd/server.c of the smbd listener in the Samba package. The parent stores each failed attempt to create a worker in its list of children. The handler that runs when a child exits removes a process the kernel reports. A failed creation has no process for that handler to remove. A network attacker or user can open connections to the file server while the host cannot create another process. Each failed creation stays in the parent's count of children. When an administrator has set a maximum number of smbd processes, and the count reaches that maximum, the listener closes later connections and leaves those clients without a worker. The count remains after the host can create processes again, so clients stay unable to connect until smbd is restarted.

1 / 2
Source: MITRE
First published (updated )
Severity
4

Samba : smbd parent counts failed fork() (pid -1) as a child, "max smbd processes" limit permanently exhausted

First published (updated )
Severity
8.1
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

[Unknown description]

1 / 3
Source: OSV
First published (updated )
Severity
7

On shares using the vfscephrgw module, the module's openat() implementation ignored the (possibly case-corrected) filename supplied by the file server and instead re-opened the name originally sent by the client.

When a client opened an existing file using a different case than it exists on disk with a create disposition of FILEOPENIF, the case-insensitive lookup failed inside the module. The file server then treated the request as a file creation, checking only the caller's permission to add a file to the parent directory and skipping the access check on the existing object. The subsequent open then collided with, and re-opened, the existing object.

As a result an authenticated user could read or overwrite files owned by another user, despite those files having restrictive permissions.

First published (updated )

It was discovered that Samba's pamwinbind incorrectly handled home directory ownership when mkhomedir was enabled. A local attacker could possibly use this issue to cause a denial of service by triggering a change in ownership of the root directory. (CVE-2026-15779) Arjun Basnet, Douglas Bagnall, and Andrew Tridgell discovered that Samba incorrectly handled TSIG packets with name compression. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2026-6949) Tristan Madani discovered that Samba incorrectly handled malformed ASN.1 kpasswd packets. An authenticated user could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2026-58216) Andrew Tridgell and Tristan Madani discovered that Samba incorrectly handled TKEY name registration. A remote attacker could possibly use this issue to exhaust the TKEY name cache, resulting in a denial of service. (CVE-2026-58218) It was discovered that Samba incorrectly handled internal LDB special directory names when processing authenticated LDAP requests. An authenticated user could possibly use this issue to perform unauthorized modifications and gain control of a domain. (CVE-2026-58221) Andrew Tridgell and Tristan Madani discovered that Samba incorrectly handled LDAP Compare requests. An authenticated user could possibly use this issue to obtain sensitive information. (CVE-2026-58222) Tristan Madani, Andrew Tridgell, and Martin Schwenke discovered that the CTDB protocol in Samba had insufficient bounds checking. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2026-58224)

First published (updated )
Advisory
USN-8621-1
Severity
6.5
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

A flaw was found in Samba's CTDB, the clustered database service used by Samba. Insufficient integrity validation of received CTDB protocol packets allows malformed packets containing invalid field lengths, improperly terminated strings, or inconsistent packet sizes to be processed without adequate bounds checking. A remote attacker with access to the CTDB private network may trigger a denial of service through process crashes or excessive memory consumption and, in limited cases, disclose adjacent memory contents.

1 / 3
Source: NVD
First published (updated )

-------- Forwarded Message -------- Date: Tue, 26 May 2026 14:29:50 +0200 Reply-To: Stefan Metzmacher <metze () samba org> Release Announcements ---------------------

This is a security release in order to address the following defects:

o CVE-2026-1933: Missing access checks on reparse point operations

On a share marked "read only = yes" and on file handles opened R/O users can set or delete the reparse point xattrs on files that the user has write-access in the file system for.

https://www.samba.org/samba/security/CVE-2026-1933.html

o CVE-2026-2340: WORM vfs module does not block overwrites

The WORM (Write-Once, Read Many) vfs module is supposed to lock write access to shared files, so they cannot be altered after initial writes. It was allowing files to be overwritten by renaming a newly created file over a protected file.

https://www.samba.org/samba/security/CVE-2026-2340.html

o CVE-2026-3012: auto-enrolment GPO installing CA certificate over http without verification

To bootstrap a certificate chain a domain member must fetch a certificate without TLS. It was trusting HTTP for this when a more secure encrypted LDAP channel was also available.

https://www.samba.org/samba/security/CVE-2026-3012.html

o CVE-2026-3238: Denial of service against AD DC WINS server

The WINS server component of the Active Directory Domain controller code in Samba is vulnerable to a NULL pointer dereference and crash caused by a unauthenticated UDP packet.

https://www.samba.org/samba/security/CVE-2026-3238.html server "check password script" that has the %u substitution character are vulnerable to a remote code execution.

https://www.samba.org/samba/security/CVE-2026-4408.html

o CVE-2026-4480: Unauthenticated Remote Code Execution in Samba printing subsystem

Samba print servers with a "print command" that has the %J substitution character are vulnerable to a Remote Code Execution.

https://www.samba.org/samba/security/CVE-2026-4480.html

Changes -------

o Douglas Bagnall <douglas.bagnall () catalyst net nz> BUG 15997: CVE-2026-2340 BUG 16003: CVE-2026-3012 BUG 16033: CVE-2026-4480 BUG 16034: CVE-2026-4408

o Pavel Kohout <pavel () aisle com> BUG 15997: CVE-2026-2340

o Volker Lendecke <vl () samba org> BUG 15992: CVE-2026-1933 BUG 16012: CVE-2026-3238

o Stefan Metzmacher <metze () samba org> BUG 15992: CVE-2026-1933 BUG 16033: CVE-2026-4480 BUG 16034: CVE-2026-4408 has Homedir / In passwd

####################################### Reporting bugs & Development Discussion #######################################

Please discuss this release on the samba-technical mailing list or by joining the #samba-technical:matrix.org matrix room, or #samba-technical IRC channel on irc.libera.chat.

If you do report problems then please try to send high quality feedback. If you don't provide vital information to help us track down the problem then you will probably be ignored. All bug reports should be filed under the Samba 4.1 and newer product in the project's Bugzilla database (https://bugzilla.samba.org/).

====================================================================== == Our Code, Our Bugs, Our Responsibility. == The Samba Team ======================================================================

================ Download Details ================

The uncompressed tarballs and patch files have been signed using GnuPG (ID AA99442FB680B620). The source code can be downloaded from:

https://download.samba.org/pub/samba/stable/

The release notes are available online at:

https://www.samba.org/samba/history/samba-4.24.3.html https://www.samba.org/samba/history/samba-4.23.8.html https://www.samba.org/samba/history/samba-4.22.10.html

Our Code, Our Bugs, Our Responsibility. (https://bugzilla.samba.org/)

--Enjoy The Samba Team

Asim Viladi Oglu Manizada discovered that Samba incorrectly handled access checks on reparse point operations. An attacker could possibly use this issue to modify reparse point extended attributes on files that should have been read-only. This issue only affected Ubuntu 25.10 and Ubuntu 26.04 LTS. (CVE-2026-1933) Pavel Kohout discovered that Samba's vfsworm module did not properly block file overwrites. An attacker could possibly use this issue to overwrite files that should have remained immutable. (CVE-2026-2340) Arad Inbar, Nir Somech, and Ben Grinberg discovered that Samba incorrectly handled certificate auto-enrolment group policies over HTTP without verification. A machine-in-the-middle attacker could possibly use this issue to install a malicious CA certificate. This issue only affected Ubuntu 24.04 LTS, Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-3012) Arad Inbar, Erez Cohen, Nir Somech, and Ben Grinberg discovered that Samba's Active Directory Domain Controller WINS server could be made to crash under certain circumstances. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2026-3238) Ron Ben Yizhak discovered that Samba's DCE/RPC SAMR server incorrectly handled a non-default password check script configuration. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2026-4408) Ron Ben Yizhak discovered that Samba's printing subsystem incorrectly handled a non-default print command configuration. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2026-4480)

First published (updated )
Advisory
USN-8306-1
Severity
9.8
OS Command Injection
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.

1 / 3
Source: IBM
First published (updated )
Severity
7

Samba file servers and classic (non-AD) domain controllers offer the SamValidatePasswordChange and SamValidatePasswordReset RPC services on the SAMR DCE/RPC service when running over NCACNIPTCP. Both services pass a username and password to the "check password script" that can be configured in smb.conf.

If the "check password script" is configured with the %u substitution character, the client-controlled username is passed to the "check password script" without escaping shell meta-characters, leading to a remote command execution vulnerability.

This is a non-standard configuration in several ways:

It affects Samba file servers and classic (non-AD) domain controllers that have the "check password script" configured with the %u substitution character. Active Directory Domain Controllers are not affected, they do not expand the username via the %u substitution character.

The problem is much less dangerous if %u has single quotes directly around it, e.g. '%u', but it's still possible to inject command line options.

Standard Samba file servers and classic domain controllers are also only affected if the samba-dcerpcd service is started as a system service, which can only happen if "rpc start on demand helpers" is set to the non-default setting "no". In the default configuration for DCE/RPC, smbd starts the samba-dcerpcd in a way that makes the vulnerable code inaccessible.

First published (updated )

On 07/04/2026 4:10 pm, Douglas Bagnall wrote: On 06/04/2026 2:53 pm, Douglas Bagnall via samba-technical wrote: This is a heads-up that there will be Samba security updates for 4.22, 4.23, and 4.24 on Thursday, April 9, 2026. Please make sure that your Samba servers will be updated soon after the release! Release is still Thursday 9 April. Sorry again. The release has been postponed because we found an issue in one of the fixes.

We will announce a new date as soon as possible.

Douglas

First published (updated )

I was a little inaccurate in this message, sorry.

Below I have amended the impacted components to reflect that one of the bad ones requires an unusual configuration, and one of the AD bugs affects domain members, not the DC.

On 06/04/2026 2:53 pm, Douglas Bagnall via samba-technical wrote: This is a heads-up that there will be Samba security updates for 4.22, 4.23, and 4.24 on Thursday, April 9, 2026. Please make sure that your Samba servers will be updated soon after the release!

Impacted components: - File Services, CVSS 10.0, affecting some configurations - File Services, CVSS 10.0, affecting some configurations - File Services, CVSS 7.1 affecting some configurations - File Services, CVSS 6.5 affecting uncommon configurations - AD DC CVSS 8.0, affecting some configurations - AD DC CVSS 7.5, affecting uncommon configurations> Impacted components: - File Services, CVSS 10.0, affecting some configurations - File Services, CVSS 10.0, affecting uncommon configurations - File Services, CVSS 7.1 affecting some configurations - File Services, CVSS 6.5 affecting uncommon configurations - Domain members CVSS 8.0, affecting some configurations - AD DC CVSS 7.5, affecting uncommon configurations

Release is still Thursday 9 April.

Douglas

First published (updated )

This is a heads-up that there will be Samba security updates for 4.22, 4.23, and 4.24 on Thursday, April 9, 2026. Please make sure that your Samba servers will be updated soon after the release!

Impacted components: - File Services, CVSS 10.0, affecting some configurations - File Services, CVSS 10.0, affecting some configurations - File Services, CVSS 7.1 affecting some configurations - File Services, CVSS 6.5 affecting uncommon configurations - AD DC CVSS 8.0, affecting some configurations - AD DC CVSS 7.5, affecting uncommon configurations

cheers, Douglas Bagnall Samba Team and Catalyst IT

First published (updated )
Severity
9.8
OS Command Injection
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.

1 / 4
Source: Launchpad
First published (updated )
Severity
6.5
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

A flaw was found in Samba’s vfsworm module. The module is intended to provide write-once, read-many (WORM) protections by preventing modification of files after a configurable grace period. Due to insufficient validation during rename operations, an authenticated user with write access to a share could overwrite a protected file by renaming a newly created file over the existing WORM-protected file.

1 / 2
Source: Launchpad
First published (updated )
Severity
8
AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

A flaw was found in Samba’s certificate auto-enrollment Group Policy handling. When certificate auto-enrollment is enabled, Samba may retrieve a CA certificate over an unencrypted HTTP connection and install it into the local trust store without proper verification. An attacker with the ability to intercept or redirect network traffic could exploit this behavior to supply a malicious certificate authority certificate, potentially allowing interception or spoofing of trusted communications.

1 / 2
Source: Launchpad
First published (updated )
Severity
7.1
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

A flaw was found in Samba’s handling of NTFS-style reparse points on shares configured with read only = yes. Due to missing SMB-layer access checks, authenticated users with underlying filesystem write permissions may create or delete reparse point metadata through SMB operations even on read-only exports. This could allow modification of SMB-visible file behavior, including converting files into symbolic links or other reparse point types.

1 / 3
Source: Launchpad
First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203