Tag: Log Retention

CVE-2026-58630: A CVSS 10 Azure App Service Flaw With Nothing to Patch

CVE-2026-58630: A CVSS 10 Azure App Service Flaw With Nothing to Patch

On July 23, 2026, Microsoft published a perfect 10.0 for Azure App Service. Network attack, no credentials, no user interaction, scope changed. Then, in the same advisory, it told every customer there was nothing to do. CVE-2026-58630 is the rare critical bug that you can’t patch, can’t scan for and, four months later, probably can’t fully investigate either.

That last part is why I’m writing about it now. Microsoft says the flaw is fully mitigated on its side. I believe that. But “mitigated” describes the platform after the fix, not your tenant before it, and the default Azure log retention windows have quietly rolled past July 23. If you want to know whether anything touched your apps before the fix, the clock has mostly run out unless you exported logs.

Severity: critical on paper, no known exploitation, zero patch work. The real work is a log question.

At a glance

  • CVE: CVE-2026-58630, CWE-284 (improper access control), elevation of privilege.
  • CVSS 3.1: 10.0 from Microsoft (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N, temporal 8.7). NVD’s own score is 9.8 (S:U, A:H).
  • Product: advisory title says “Azure App Service on Azure Stack Hub”; the CVE record and NVD list “Azure App Service for Linux”, version “-“.
  • Exploitation: Microsoft says not exploited and not publicly disclosed. CISA’s SSVC entry says exploitation none, automatable yes, technical impact total. Not in CISA’s KEV catalog (checked against catalog version 2026.11.25).
  • Fix: mitigated server-side by Microsoft. Customer action required: no.
  • Who should care: anyone running production workloads on App Service (especially Linux plans) who wants to rule out pre-fix abuse, and Azure Stack Hub operators confused by the title.

What we actually know

Very little, and I want to be precise about it. The MSRC entry went live on July 23, 2026 as part of the July 2026 release, revision 1. The full description is one sentence: improper access control in Azure App Service allows an unauthorized attacker to elevate privileges over a network. The FAQ adds that the issue “has already been fully mitigated by Microsoft” and that users have nothing to do. No researcher is credited.

NVD published the CVE on July 24, finished its analysis, and last modified the entry on October 24. The CVE record itself was updated again on November 19, 2026, without any new technical detail that I could find. Both carry the exclusively-hosted-service tag, which is Microsoft’s marker for “this lives only in our cloud, you don’t patch it”.

What nobody has published, as of November 25, 2026: the affected component, the attack surface (front end, Kudu, worker isolation, something else), when the bug was introduced, when the mitigation actually rolled out, and whether any tenant was notified. If you read a write-up that explains the mechanism, ask where it came from. The secondary coverage I checked, including the Safeguard.sh post from October 18, says plainly that the MSRC page could not be read, so it couldn’t describe the mechanism either. Some pages get the fix wrong: the IONIX threat center entry from July 24 tells readers to “Apply the security update published by Microsoft” and recommends immediate patching. There is no update to apply.

How it works, and why I can’t tell you

I won’t invent a mechanism. CWE-284 is the broadest access control bucket there is: “the system didn’t check whether you were allowed to do this”. What the vector does tell us is the shape of the problem.

PR:N and UI:N mean no account and no victim click. AC:L means no special conditions. C:H and I:H with A:N means reading and changing things, not knocking them over. The interesting part is S:C, scope changed. In CVSS terms that means the vulnerable component and the impacted component sit under different security authorities. On a multi-tenant platform, that is the kind of score you’d expect for a bug that crosses a boundary Microsoft relies on, such as from one app or sandbox into something it shouldn’t reach. I’m careful here: Microsoft has not said tenant-to-tenant, and S:C can also describe a jump from an app into the platform layer.

NVD disagreed. NIST scored it S:U with availability high, landing at 9.8. Two scorers, same one-line description, different reading of the blast radius. That tells me NIST didn’t have more information than the rest of us.

Then there is the name. The advisory title says Azure App Service on Azure Stack Hub, which is the version that customers run themselves on their own Stack Hub hardware. The affected-product field says Azure App Service for Linux, the public multi-tenant service. The MITRE record even uses a generic azure_app_service CPE while NVD uses azure_app_service_for_linux. A cloud-only tag plus “no customer action” fits the public service much better than a product you install and upgrade yourself. My read is that the title is the outlier, but that’s an inference, not something Microsoft has confirmed.

Timeline from Microsoft's June 2024 cloud CVE policy through the July 23, 2026 advisory, NVD publication and analysis, the Azure Stack Hub 26R1 release, the November 19 CVE record update, and the point where the 90-day activity log window passed the advisory date.
CVE-2026-58630 disclosure timeline. The start of the vulnerable window and the mitigation rollout date are not public.

Who is affected and how badly

Going forward, nobody. The open question is backward-looking: was it exploited before the fix, and did anyone notice? Microsoft says no exploitation, which is a statement about what Microsoft observed. It’s the best signal available and I’d weight it, but platform-level abuse may not leave traces in the logs a tenant can see.

For Azure Stack Hub operators I checked the App Service on Azure Stack Hub 26R1 release notes (build 102.20.2.2, announced September 28, 2026). They list runtime, Kudu and OS updates and two fixed issues, and they don’t mention CVE-2026-58630 or any CVE. I found no Stack Hub update tied to this bug. Combined with customerActionRequired set to false, I would not treat this as a Stack Hub patch item. If you run Stack Hub and want certainty, open a support case and ask directly; the title alone justifies the question.

My risk rating for a typical tenant: low residual risk, high uncertainty. Worth an hour of checking what your logs can still show.

The log retention problem

Here is the uncomfortable math. Azure keeps activity log events for 90 days and then deletes them. Counting back 90 days from November 25, 2026 lands on August 27, 2026, five weeks after the advisory. Entra sign-in and audit logs are kept for 7 days on Free and 30 days on P1/P2. App Service resource logs, like AppServiceAuditLogs, are not collected at all unless you set up a diagnostic setting.

So if you never exported anything, the portal can’t show you July. If you send logs to a Log Analytics workspace, Sentinel or a third-party SIEM with longer retention, you can still look. That’s the split that decides what you do next.

Bar chart comparing default Azure log retention as of November 25, 2026: activity log 90 days back to August 27, Entra sign-ins 30 days on P1/P2 and 7 days on Free, App Service resource logs not collected by default, all ending after the July 23 advisory date.
With default retention, none of the native Azure logs still cover the period before July 23, 2026.

What to do now

  1. Don’t open a patch ticket. There’s nothing to deploy. If a scanner or vendor feed flags this CVE against an asset, close it with a reference to the MSRC FAQ.
  2. Check retention first. Find out whether AzureActivity, AppServiceAuditLogs and the Entra sign-in tables reach back before the July 23, 2026 advisory in your workspace. If they don’t, write that down and move to hardening.
  3. If they do, run the hunt in the detection section below for the period before the July 23, 2026 advisory, starting as far back as your data allows. The queries end at July 24 so that time zone offsets don’t cut off the last hours of July 23. Nobody knows when the bug was introduced.
  4. Turn off basic auth publishing credentials. Set basicPublishingCredentialsPolicies/ftp and /scm to allow=false per Microsoft’s guide, and assign the built-in Azure Policy audit and remediation definitions. Long-lived username/password deploy creds are exactly what you’d want to steal after any access control bug.
  5. Rotate what an App Service app holds if you can’t rule things out: publishing profiles, connection strings and secrets in app settings, Functions host keys. Move secrets to Key Vault references and managed identity where you haven’t already.
  6. Fix the retention gap for next time. Export the activity log and Entra logs to a workspace or storage with at least a year of retention, and enable AppServiceAuditLogs on production apps. The next cloud CVE with no customer action will ask the same question.

Detection and monitoring

There are no IOCs for this CVE. Microsoft published none, and I won’t make any up. So nothing below detects the bug itself. What you can catch is what anyone does with elevated access to an App Service app: pull its deployment credentials and secrets, log in with them, and change the app’s config so access survives. That lives in two places: the Azure Activity log (control plane, collected by default but kept for 90 days) and AppServiceAuditLogs (FTP, Web Deploy and Kudu logins, a resource log that Microsoft says isn’t collected until you add a diagnostic setting).

I wrote six Sigma rules for that, all hunting and hardening rules rather than exploit signatures:

RuleCategoryLog sourceATT&CKLevel
Publishing profile retrievedCloud-AzureActivity logT1552Medium
Publishing login with basic credentialsCloud-AzureAppServiceAuditLogsT1078.004Low (hunting)
Profile retrieved, then basic login on the same app within an hour (correlation)Cloud-AzureActivity log + AppServiceAuditLogsT1552, T1078.004High
Basic auth publishing policy changed (not to disabled)Cloud-AzureActivity logT1556Medium
Source control or site extension changedCloud-AzureActivity logT1505Medium
Sensitive settings or Functions keys listedCloud-AzureActivity logT1552Low (hunting)

The one I’d turn on first is the publishing profile rule. A call to publishxml/action returns the app’s publishing profile, which Microsoft says often contains basic-auth credentials for FTP, Web Deploy and Kudu. Microsoft documented Storm-2949 using it in May 2026 to compromise App Service apps. Stratus Red Team’s sample event confirms the operation shows up in the Activity log, and Stratus notes it is logged even when basic auth is disabled. Alert on any caller, then baseline who legitimately downloads profiles per app.

title: Azure App Service Publishing Profile Retrieved
id: 1619694c-4499-4da8-b517-04386221afcb
name: azure_app_service_publishxml
status: test
description: |
    Detects retrieval of an App Service or slot publishing profile through the Azure management plane. Microsoft says the
    profile often contains basic-auth credentials for FTP, Web Deploy and Kudu; Storm-2949 used this action to compromise
    App Service apps. Hunting and hardening rule, not an exploit signature for CVE-2026-58630 (no IOCs are public).
references:
    - https://github.com/DataDog/stratus-red-team/blob/main/docs/attack-techniques/azure/azure.credential-access.app-service-publishing-credentials.md
    - https://www.microsoft.com/en-us/security/blog/2026/05/18/storm-2949-turned-compromised-identity-into-cloud-wide-breach/
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/permissions/web-and-mobile
    - https://netsec101.com/?p=502
author: netsec101.com
date: 2026-11-25
tags:
    - attack.credential-access
    - attack.t1552
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - 'MICROSOFT.WEB/SITES/PUBLISHXML/ACTION'
            - 'MICROSOFT.WEB/SITES/SLOTS/PUBLISHXML/ACTION'
    condition: selection
falsepositives:
    - Developers clicking "Download publish profile" in the portal, or Visual Studio and older pipeline tasks that import a profile
    - Infrastructure-as-code or backup tooling that exports profiles; baseline callers per app and alert on a new caller or IP
level: medium

For the retro-hunt, run the same conditions over everything your workspace holds before July 24, 2026, and sort by caller and IP so the rare ones float up. Keep expectations honest: a clean result means nothing suspicious reached your tenant-visible logs. It doesn’t prove the platform bug was never used against you, because the Activity log typically does not capture read operations and isn’t an authentication audit log. Going forward, keep the rules on as standing detections; “basic auth re-enabled” and “profile pulled, then used within the hour” are worth an alert in any tenant, CVE or not. There are no IOCs to age out here, only retention to extend.

I wrote up all six rules, with the KQL retro-hunt, tuning notes, lab tests and ATT&CK gaps, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

I’m glad this CVE exists. Since June 2024 Microsoft has committed to “issue CVEs for critical cloud service vulnerabilities, regardless of whether customers need to install a patch.” My guess is that before that policy, a fix like this would most likely have gone out without a CVE, since no customer had anything to install.

But a CVE with one sentence of description, a contradictory product name and two different CVSS vectors is transparency in format more than in substance. It tells you a 10.0 existed in a service you depend on and gives you nothing to judge your own exposure: no component, no rollout date, no exposure window. Customers need the window more than anything else. “Fixed before publication” without a “vulnerable since” leaves defenders guessing how far back to hunt.

The real lesson is about us, not Microsoft. Cloud CVEs with no customer action are going to keep arriving, and the only thing they ever ask of you is a look backward. Ninety days of activity log and thirty days of sign-ins can’t answer that. If your retention is still on defaults, fixing that is the one action this CVE actually gives you, and I’d do it this week. I’d also ask Microsoft, through your account team, for the exposure window. They’re the only ones who know it.

Sources