A critical vulnerability tracked as CVE-2026-137706 (CVSS 9.9) has been published in the NVD affecting Direk Tech Smart Portal, a web-based management application that integrates with Active Directory. The flaw is a Missing Authorization weakness (CWE-862) that allows any authenticated remote attacker to add a specified account to the Domain Admins group — effectively handing over the keys to the entire Active Directory forest over the network.
If your organization runs Smart Portal anywhere it can reach a domain controller, this is a stop-everything event. The exploitation bar is extraordinarily low: no zero-day exploit chain, no race condition, no memory corruption — just a valid set of low-privilege portal credentials and a crafted request. In fifteen years of IR work, the incidents that hurt organizations the most are exactly this class of bug: a trusted internal application with implicit AD write privileges and no authorization enforcement on a privileged operation.
Technical Analysis
Affected Component
| Attribute | Detail |
|---|---|
| CVE | CVE-2026-137706 |
| Vendor / Product | Direk Tech Smart Portal |
| Vulnerability Class | Missing Authorization (CWE-862) |
| CVSS v3.x Score | 9.9 (Critical) |
| Attack Vector | Network |
| Privileges Required | Low (any authenticated portal session) |
| Impact | Addition of arbitrary accounts to the AD Domain Admins group |
How the Vulnerability Works
Smart Portal is deployed with a service account (or runs in a security context) that possesses write permissions over Active Directory group membership — typically because the portal legitimately offers delegated administration or self-service functions. The vulnerable code path exposes a function that modifies group membership, but fails to verify that the calling user is authorized to perform that operation.
From a defender's perspective, the attack chain looks like this:
- Access: The attacker authenticates to the Smart Portal web interface with any valid credential — a compromised standard user, a weak/default account, or a credential harvested via phishing.
- Abuse: The attacker invokes the vulnerable portal function, supplying an attacker-controlled account name and targeting the Domain Admins group. Because the authorization check is missing, the portal executes the group modification using its own privileged AD context.
- Privilege Escalation: The attacker's account is now a member of Domain Admins (event ID 4728 on the domain controller). From here, full forest compromise follows: DCSync, GPO abuse, deployment of ransomware or persistence across every domain-joined asset.
This is a textbook confused deputy pattern: the portal's service identity holds the privileges, and the missing authorization check lets any authenticated user borrow them. Note that exploitation generates a legitimate-looking AD change — the modifying principal will be the portal's service account, not the attacker's account, which makes naive detection rules miss it.
Exploitation Status
At the time of writing, CVE-2026-137706 is newly published to the NVD with no confirmed public proof-of-concept code and no listing in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, given the CVSS 9.9 severity, network exploitability, and the trivial nature of missing-authorization abuse, defenders should assume weaponization is imminent. Missing authorization flaws in web applications are among the fastest vulnerability classes to be reverse-engineered into working exploits once a patch or advisory reveals the affected endpoint.
Detection & Response
The highest-fidelity detection surface for this vulnerability is not the web tier — it is the domain controller. Exploitation produces an observable AD group membership change (Security Event 4728 for global groups such as Domain Admins, or 4732/4756 if abused against local/universal groups) performed by the Smart Portal service account outside of any legitimate change window. Correlating those events with portal web requests closes the loop.
Sigma Rules
---
title: Account Added to Domain Admins via Service Account Context
id: 3f9a1c72-8e2b-4d51-bf06-9a7c5e21d834
status: experimental
description: Detects an account being added to the Domain Admins group where the modifying principal is a service account, consistent with CVE-2026-137706 exploitation of Direk Tech Smart Portal's missing authorization flaw. Tune the service account filter to your Smart Portal service identity.
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-137706
- https://attack.mitre.org/techniques/T1098/
author: Security Arsenal
date: 2026/02/10
tags:
- attack.persistence
- attack.privilege_escalation
- attack.t1098
logsource:
product: windows
service: security
detection:
selection:
TargetUserName|contains:
- 'Domain Admins'
- 'Administrateurs du domaine'
SubjectUserName|contains:
- 'svc-smartportal'
- 'svc_smartportal'
- 'smartportal'
condition: selection
falsepositives:
- Legitimate delegated administration performed through Smart Portal during approved change windows — suppress by change ticket correlation, never by blanket exclusion
level: critical
---
title: Domain Admins Group Modification via Command-Line or PowerShell
id: 8c4d2e91-5a3f-47b8-9c10-2e6f7a91b345
status: experimental
description: Detects direct command-line or PowerShell modification of the Domain Admins group. Post-exploitation of CVE-2026-137706, attackers frequently verify or extend access using net.exe, Add-ADGroupMember, or Add-LocalGroupMember from a compromised host.
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-137706
- https://attack.mitre.org/techniques/T1098/
author: Security Arsenal
date: 2026/02/10
tags:
- attack.persistence
- attack.privilege_escalation
- attack.t1098
logsource:
category: process_creation
product: windows
detection:
selection_cmd:
CommandLine|contains:
- 'net group "Domain Admins"'
- 'net1 group "Domain Admins"'
- 'Add-ADGroupMember'
- 'Add-ADPrincipalGroupMembership'
selection_target:
CommandLine|contains:
- 'Domain Admins'
- 'CN=Domain Admins'
condition: all of selection_*
falsepositives:
- Identity governance or provisioning automation (verify the executing account and host against your IdM tooling)
level: high
---
title: Smart Portal Service Account Group Membership Modification Outside Change Window
id: 51b7e3a4-2c9d-4f68-a173-6d8e4b52c9f1
status: experimental
description: Detects any group membership modification (add or remove) performed by the Smart Portal service account. Under CVE-2026-137706 the vulnerable portal performs the AD write under its own identity, so all portal-driven group changes should be treated as suspicious until validated against approved change records.
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-137706
- https://attack.mitre.org/techniques/T1098/
author: Security Arsenal
date: 2026/02/10
tags:
- attack.persistence
- attack.t1098
logsource:
product: windows
service: security
detection:
selection:
SubjectUserName|contains:
- 'svc-smartportal'
- 'svc_smartportal'
- 'smartportal'
TargetUserName|contains:
- 'Admins'
- 'Administrators'
condition: selection
falsepositives:
- Routine delegated administration workflows — baseline normal portal operation hours and alert on deviations
level: high
Tuning note: Replace the
svc-smartportalpatterns with the actual service account name in your environment. If Smart Portal runs under a gMSA, match the trailing$account name. Do not deploy these rules unmodified — an unmatched service account name yields silence, not safety.
KQL — Microsoft Sentinel / Defender
This hunt query surfaces privileged group additions with enrichment: it flags additions to Domain Admins and other privileged groups, identifies the modifying account, and highlights events where the modifier is a service account (the Smart Portal confused-deputy signature).
let PrivilegedGroups = dynamic(["Domain Admins", "Enterprise Admins", "Schema Admins", "Administrators", "Account Operators", "Backup Operators"]);
SecurityEvent
| where EventID in (4728, 4732, 4756)
| where TargetUserName has_any (PrivilegedGroups)
| extend IsServiceAccountModifier = SubjectUserName has "svc" or SubjectUserName endswith "$"
| extend SuspicionScore = case(
IsServiceAccountModifier and TargetUserName == "Domain Admins", "CRITICAL - Possible CVE-2026-137706 exploitation",
IsServiceAccountModifier, "High - Service account modifying privileged group",
"Medium - Privileged group modification")
| project TimeGenerated, Computer, SubjectUserName, SubjectDomainName, MemberName, TargetUserName, IsServiceAccountModifier, SuspicionScore, IpAddress
| order by TimeGenerated desc
Companion hunt — correlate portal web-tier requests with the AD change window if you ingest Smart Portal or reverse-proxy logs via CEF/Syslog:
let GroupChangeWindow =
SecurityEvent
| where EventID == 4728 and TargetUserName == "Domain Admins"
| summarize StartTime=min(TimeGenerated), EndTime=max(TimeGenerated) by Computer;
CommonSecurityLog
| where DeviceProduct has "SmartPortal" or SourceHostName has "smartportal"
| where RequestMethod in ("POST", "PUT")
| where RequestURL has_any ("group", "member", "admin", "role")
| join kind=inner (GroupChangeWindow) on $left.DestinationHostName == $right.Computer
| where TimeGenerated between (StartTime .. EndTime)
| project TimeGenerated, SourceIP, SourceUserName, RequestMethod, RequestURL, DestinationHostName
| order by TimeGenerated desc
Velociraptor VQL
This artifact parses the Security event log on domain controllers for privileged group modification events and identifies the member account added — essential for scoping which accounts were illicitly promoted during the exposure window.
-- Hunt for privileged AD group membership additions (CVE-2026-137706 post-exploitation scoping)
-- Run against domain controllers
SELECT EventData.SubjectUserName AS ModifyingAccount,
EventData.MemberName AS AddedMember,
EventData.TargetUserName AS TargetGroup,
EventData.IpAddress AS SourceIP,
System.TimeCreated.SystemTime AS EventTime,
System.Computer AS DomainController
FROM parse_evtx(filename="C:/Windows/System32/winevt/Logs/Security.evtx")
WHERE System.EventID.Value IN (4728, 4732, 4756)
AND EventData.TargetUserName =~ "(?i)(domain admins|enterprise admins|schema admins|administrators)"
ORDER BY EventTime DESC
For a broader sweep across member servers and workstations to catch post-escalation group-add commands executed interactively:
-- Hunt for interactive group-add tooling execution consistent with post-CVE-2026-137706 activity
SELECT Pid, Ppid, Name, Exe, CommandLine, Username, CreateTime
FROM pslist()
WHERE CommandLine =~ "(?i)(net1?\s+group\s+\"domain admins\"|Add-ADGroupMember|Add-ADPrincipalGroupMembership)"
OR (Name =~ "(?i)net1?\.exe" AND CommandLine =~ "(?i)admins")
Remediation & Audit Script
Run this on a domain controller or management workstation with the ActiveDirectory module. It audits current Domain Admins membership, pulls recent group-change events, identifies changes made by suspected portal service accounts, and snapshots group membership for drift comparison.
# CVE-2026-137706 Response Script — Domain Admins integrity audit
# Run as Domain Admin on a DC or RSAT-equipped management host
$OutputDir = "C:\IR\CVE-2026-137706"
New-Item -Path $OutputDir -ItemType Directory -Force | Out-Null
# 1. Snapshot current privileged group memberships
Get-ADGroupMember -Identity "Domain Admins" -Recursive |
Select-Object Name, SamAccountName, objectClass, DistinguishedName |
Export-Csv "$OutputDir\DomainAdmins_Current.csv" -NoTypeInformation
# 2. Pull all Domain Admins additions from the last 30 days
$StartDate = (Get-Date).AddDays(-30)
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4728; StartTime=$StartDate} |
Where-Object { $_.Message -match 'Domain Admins' } |
ForEach-Object {
[PSCustomObject]@{
TimeCreated = $_.TimeCreated
DomainController= $_.MachineName
ModifiedBy = $_.Properties[1].Value
MemberAdded = $_.Properties[0].Value
TargetGroup = $_.Properties[3].Value
}
} | Export-Csv "$OutputDir\DomainAdmins_Changes_30d.csv" -NoTypeInformation
# 3. Flag changes performed by service accounts (portal confused-deputy signature)
Import-Csv "$OutputDir\DomainAdmins_Changes_30d.csv" |
Where-Object { $_.ModifiedBy -match 'svc|smartportal|\$$' } |
Export-Csv "$OutputDir\SUSPICIOUS_ServiceAccount_Changes.csv" -NoTypeInformation
# 4. Identify Smart Portal service account effective permissions on the Domain Admins group
$DA = Get-ADGroup "Domain Admins"
(Get-Acl "AD:\$($DA.DistinguishedName)").Access |
Where-Object { $_.ActiveDirectoryRights -match 'WriteProperty|GenericAll|WriteDacl' } |
Select-Object IdentityReference, ActiveDirectoryRights, AccessControlType |
Export-Csv "$OutputDir\DomainAdmins_ACL_Writers.csv" -NoTypeInformation
# 5. Review and disable suspicious members (MANUAL STEP — verify before disabling)
Import-Csv "$OutputDir\SUSPICIOUS_ServiceAccount_Changes.csv" | Format-Table -AutoSize
Write-Host "`n[+] Audit complete. Review output in $OutputDir" -ForegroundColor Green
Write-Host "[!] Manually validate every account in DomainAdmins_Current.csv against your change records." -ForegroundColor Yellow
Write-Host "[!] Any unauthorized member: remove with Remove-ADGroupMember, reset its credentials, and treat as compromised." -ForegroundColor Red
Remediation
- Apply the vendor fix immediately. Monitor the Direk Tech security advisory channel for the patched Smart Portal release addressing CVE-2026-137706 and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-137706) for updated references. Missing authorization fixes are server-side — there is no client-side mitigation. Treat deployment as emergency change, not the normal patch cycle.
- If no patch is available, isolate the portal. Place Smart Portal behind an allowlist restricting access to named administrator workstations, or take it offline entirely. A missing authorization flaw in an internet-reachable or broadly reachable portal with AD write capability is an unquantifiable risk.
- Constrain the service account (defense in depth). The portal service account should never hold blanket write access to Domain Admins or other privileged groups. Remove it from Account Operators, apply a fine-grained delegation scoped only to the specific OUs and groups the portal legitimately manages, and protect privileged groups with the AdminSDHolder / SDProp mechanism by ensuring the service account has no write path to protected groups.
- Audit now, not after patching. Run the script above. Any account added to Domain Admins during the exposure window that you cannot tie to a change ticket must be treated as compromised: remove membership, reset credentials (twice for accounts that touched a DC, to invalidate ticket material), and investigate lateral movement from that account.
- Reset and rotate. If exploitation is confirmed or suspected, reset the Smart Portal service account password/gMSA, review all authentication to the portal during the exposure window, and consider a krbtgt double-reset if any promoted account had DC access.
- Enable alerting going forward. Deploy the Sigma and KQL content above. Every privileged group change in your environment should page a human until validated — at CVSS 9.9 with this attack simplicity, silent drift is the enemy.
- Threat model your delegated administration tooling. Smart Portal is not unique. Any self-service password, IAM, or helpdesk portal with AD integration is a confused-deputy candidate. Add authorization-boundary testing of these applications to your next penetration test scope.
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.