Norway’s National Security Authority Tells Every Azure API Management Customer to Assume Secrets Are Out, Microsoft’s Private Notice Limits Exposure to Classic Tiers That Skipped Its Guidance, and No CVE or Public Advisory Says What the Flaw Is
Microsoft says it identified an Azure API Management flaw on November 18 and closed the access path the next day, but Norway’s NSM tells every user to assume secrets are exposed, the private notice...
Microsoft has told Azure API Management (APIM) customers, in what The Register calls “a nonpublic advisory,” that “an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances before Microsoft identified the security issue.” The two outlets that quote the notice date the identification to November 18 and a mitigation that closed the access path to November 19. On November 20, Norway’s National Security Authority (NSM) tied the flaw to attacks on the energy companies Equinor and Skagerak Energi and told every APIM user to rotate every token and secret; it updated its page on November 23, the day The Register and SecurityWeek reported on the notice. We read NSM’s page, Equinor’s and Skagerak Energi’s statements, a hunting guide by Anders Kristiansen, six Microsoft Learn pages and both news stories, and checked NVD and Microsoft’s November security update file for a CVE, between about 19:10 and 19:25 UTC on November 23.
Table Of Content
- What the sources say
- Microsoft’s notice, as quoted
- NSM’s page
- Equinor and Skagerak Energi
- Timeline
- Where the accounts differ
- Everyone, or only Classic tiers that skipped the guidance
- Closed automatically, or check your runtime version
- What the flaw is: no source says
- The AI sentence
- What Microsoft’s documentation says about the pieces involved
- What defenders can do
- Read the runtime version
- Rotate, in an order that holds
- Look for use, and know the blind spot
- What we could not verify
- Sources read
Three things frame the story. First, the accounts of who is exposed differ. NSM says that everyone who has APIM must assume their secrets and named values have gone astray, while the notice as the two outlets describe it limits the exposure to Classic tiers, says v2 is not impacted, and is paraphrased differently by each of them. Second, whether the fix has reached an instance is left to the customer to check: Microsoft says it applied the mitigation automatically, and NSM publishes runtime-version thresholds and tells customers below them to contact their provider. Third, nothing we could find says what the flaw is. We found no CVE, and neither Equinor’s nor Skagerak Energi’s statements mention Azure, APIM or a vulnerability.
Below we put the statements on one UTC clock, set the accounts side by side, add what Microsoft’s own documentation says about the features involved, and give a short script that reads a runtime version against NSM’s thresholds, which we tested on made-up values only. We have no APIM instance and sent nothing to any gateway. The notice itself sits in a Reddit thread that answers scripted clients with a human-verification page, so every sentence from it reaches us through The Register or SecurityWeek. We have reported on a Microsoft customer notice that gave no count before, for Entra Connect Health.
What the sources say
Microsoft’s notice, as quoted
The Register says it saw “a nonpublic advisory”; SecurityWeek says a customer shared Microsoft’s private notification on Reddit. Both quote the sentence about exposure that opens this report. According to The Register, Microsoft said the attacks “only impact customers on Azure API Management Classic tiers, not Azure API Management v2,” and linked exposure to “Classic-tier configurations that did not follow its network security guidance or stored secrets directly in APIM rather than referencing them from Azure Key Vault.” SecurityWeek writes that Microsoft “noted that APIM Classic tiers that don’t follow its documented security guidance are affected” and that “Instances on v2 tiers are not impacted.” The possibly exposed items, in The Register’s words, are “named values, client secrets associated with identity providers and OpenID Connect providers, subscription keys, and tokens used to call direct management APIs.” Both outlets date the identification to November 18 and the mitigation to November 19, and The Register says customers still had to investigate whether their instances had been compromised before the mitigation was applied. It adds that Microsoft did not immediately respond to its request for comment.
NSM’s page
NSM’s page is in Norwegian, was published on November 20 and was updated on November 23; the translations here are ours. It says: “Earlier this week NSM became aware of a vulnerability in Azure API Management (APIM) that affects several Norwegian businesses. The vulnerability is now said to be closed. NSM nevertheless asks businesses to take measures.” It says that “an unknown actor has actively gone after access tokens, secrets and named values in APIM,” that Equinor and Skagerak Energi “are among the businesses that have been hit,” that the vulnerability “was first discovered by the Norwegian energy sector” and that it “affects several sectors in Norway and also outside Norway’s borders.” Its instruction is: “Everyone who has Azure API Manager must assume that their secrets and named values have gone astray. This means the business must rotate all tokens and secrets.” The Norwegian idiom is på avveie, which The Register renders as “exposed.” NSM adds that it is “still uncertain how extensive the exploitation of the vulnerability is, and has been,” and that so far it has “no indications that compromise or attempted compromise has had consequences for deliveries at Norwegian businesses.” It also commends Equinor “for good work that led to early detection and rapid sharing” with NSM and the sector response communities.
Equinor and Skagerak Energi
Equinor’s page began on November 17 at 18:55 CET: “Equinor has detected an ongoing cyber-attack against certain IT systems.” Its updates say that “this is not a virus attack,” that “the attack does not appear to be specifically targeting Equinor” and, on November 20, that “the cyber-attack against Equinor has now been stopped,” with “no indication that data has been stolen or altered.” Skagerak Energi’s release of November 18 says the group “has detected activity that may be an attempted cyberattack linked to some of the group’s IT systems” and that there are no indications that information has “gone astray” (our translations). Neither page mentions Azure, Microsoft, APIM or a vulnerability: we counted zero matches for each term in each page. The link to APIM comes from NSM, which names both companies, and from the outlets that repeat it.
Timeline
The sources use four time conventions. Equinor stamps its page in Norwegian time (UTC+1 in November), SecurityWeek in US Eastern time (UTC-5), Kristiansen’s page carries +0100, and The Register uses UTC. The table converts them. Rows with no clock time are dates only.
| UTC | Event | Source | After Equinor’s first statement |
|---|---|---|---|
| Nov 17, 17:55 | Equinor says it has detected an ongoing cyber-attack (18:55 CET) | Equinor | 0 h |
| Nov 18, 08:47 | Equinor says it is not a virus attack and it has a clearer picture of how it was carried out (09:47 CET) | Equinor | 14 h 52 min |
| Nov 18 | Skagerak Energi reports activity that may be an attempted cyberattack | Skagerak Energi | date only |
| Nov 18 | Microsoft says it identified the security issue | Private notice, via The Register and SecurityWeek | date only |
| Nov 19, 10:40 | Equinor says the attack is still ongoing and does not appear to target Equinor specifically (11:40 CET) | Equinor | 40 h 45 min |
| Nov 19 | Microsoft says it applied a mitigation that closed the access path | Private notice, via The Register and SecurityWeek | date only |
| Nov 20, 07:55 | Equinor says the attack has been stopped (08:55 CET) | Equinor | 62 h 00 min |
| Nov 20 | NSM publishes its page and names Equinor and Skagerak Energi | NSM | date only |
| Nov 21, 08:00 | Kristiansen publishes his hunting guide (09:00 +0100) | Kristiansen | 86 h 05 min |
| Nov 23 | NSM updates its page: first detection by the energy sector, not the power sector | NSM | date only |
| Nov 23, 12:29 | The Register reports on the notice | The Register | 138 h 34 min |
| Nov 23, 15:47 | SecurityWeek reports on the notice (10:47 ET) | SecurityWeek | 141 h 52 min |
Two reading notes. First, Equinor said the attack was still ongoing at 10:40 UTC on November 19 and had been stopped by 07:55 UTC on November 20; Microsoft’s mitigation is dated November 19 with no time of day, and no source says whether the two are connected. SecurityWeek notes that “Equinor reported the attack on November 17, one day before Microsoft identified the APIM flaw,” and NSM credits Equinor with early detection and rapid sharing, but no source says that Equinor’s report is how Microsoft found the problem. Second, NSM’s page was public three days before The Register and SecurityWeek quoted Microsoft’s notice, and we found no copy of the notice published by Microsoft itself.
Where the accounts differ
Everyone, or only Classic tiers that skipped the guidance
NSM’s instruction is blunt: everyone who has APIM must assume the secrets and named values are out and rotate everything. Its own version check then sets two families aside. Patterns such as 0.53.4608.0 or 0.52.4150.0 it assigns to “V2 or Consumption tier where this threshold does not apply” and calls not vulnerable. Microsoft’s notice, as relayed, is narrower again. It names Classic tiers only, says v2 is not impacted, and ties exposure to configuration. The two outlets word that last condition differently. The Register lists two conditions, network security guidance not followed or secrets stored directly in APIM rather than referenced from Key Vault. SecurityWeek writes only that “APIM Classic tiers that don’t follow its documented security guidance are affected.” The Register’s “security guidance” link goes to Microsoft’s cloud security benchmark page on privileged access, not to an APIM page, and the notice as quoted does not say which guidance it means. Microsoft’s APIM security baseline does list network controls (virtual network integration, network security groups, private endpoints and disabling public network access), but we cannot tell whether those are the ones meant.
Kristiansen adds a caution that bears on the Key Vault condition: “Key Vault references reduce direct secret storage in APIM, but don’t protect a value from someone who can expose it through policy editing or tracing.” Microsoft’s tracing page does warn that tracing “can expose sensitive information in the trace data.” Neither says the flaw worked that way.
Closed automatically, or check your runtime version
Microsoft’s account, as relayed, is that it applied the mitigation automatically on November 19. NSM tells businesses to open https://<your-gateway-hostname>/internal-status-0123456789abcdef, read RuntimeVersion, compare it with its thresholds and, if the instance has not been updated, contact the vendor directly. Both can be true: a staged rollout, or a check that is belt and braces. No source says how many instances were below the thresholds when NSM wrote, or whether any tier or region was updated last, and NSM’s own sentence on the fix is hedged: the flaw is “now said to be closed.”
The path matters for a second reason. Microsoft’s documentation describes /status-0123456789abcdef as “a default health endpoint hosted on all instances of API Management,” and says a request to it “should return a 200 Service Operational status.” That documented response is a plain status, not a version. The internal- path NSM gives is on none of the Microsoft pages we read, and we have not seen a real response from it.
What the flaw is: no source says
No source describes the mechanism. NSM calls it a vulnerability and the actor unknown; Microsoft’s notice, as quoted, says only that an unauthorized party “could have used the issue.” An NVD keyword search for “Azure API Management” among records published since November 17 returned nothing, a wider search for “API Management” from November 10 returned 35 records of which none mentions Azure, Microsoft or APIM, and none of the titles in Microsoft’s November 2026 security update file (2,377 entries, revised at 01:07 UTC on November 23) contains “API Management” or “APIM.” We cannot tell whether Microsoft will assign a CVE to a flaw it fixed on its own side, so the absence says little either way. SecurityWeek writes that the issue “appears to have been responsible” for the incidents at the two energy companies, and The Register’s headline says Norway links the attacks to the flaw; the only first-party text that makes the link is NSM’s. Kristiansen says his guide is his understanding based on public sources, and that NSM “has not said a portal was involved in this incident,” although he points to separate research by Praetorian and Bountyy on developer-portal sign-up abuse.
The AI sentence
NSM’s page says, in The Register’s translation: “When a vulnerability becomes known, multiple actors will be able to attempt to exploit it. Rapid escalation in the use of artificial intelligence is affecting the situation. This poses a risk to Norwegian businesses.” The sentence is about how fast actors can try a known flaw; the page does not say AI was used in these attacks. Microsoft Threat Intelligence’s November 5 post on agentic AI tooling that finds and abuses exposed secrets, which Kristiansen lists among his references, never mentions API Management or APIM.
What Microsoft’s documentation says about the pieces involved
Microsoft’s v2 tiers page sorts APIM into three families: the classic tiers (Developer, Basic, Standard and Premium), the Consumption tier, and the three v2 tiers, which it says are “in addition to the existing classic tiers (Developer, Basic, Standard, and Premium) and the Consumption tier.” The table sets each source’s scope against that.
| Tier family | Microsoft’s notice, as reported | NSM | Direct management API, per Microsoft’s retirement page |
|---|---|---|---|
| Classic: Developer, Basic, Standard, Premium | Exposed if configuration did not follow Microsoft’s guidance (The Register adds secrets stored directly in APIM) | Compare RuntimeVersion with the 0.52.x and 0.53.x thresholds | Applies; disabled by default; retired effective March 15, 2025 |
| Consumption | Not addressed in the quoted text | Other version pattern: not vulnerable | Not listed |
| v2: Basic v2, Standard v2, Premium v2 | Not impacted | Other version pattern: not vulnerable | Not listed |
- Direct management API. The retirement page says this built-in API is “disabled by default but can be enabled” in the four classic tiers, was retired effective March 15, 2025, and that “if it’s enabled in your API Management instance, you should disable it.” The notice’s list of possibly exposed items includes “tokens used to call direct management APIs.” Named values apply to all tiers according to their Learn page; of the pages we read, only the one on the direct management API limits itself to the classic tiers. That fits Microsoft’s Classic-only scope, but neither Microsoft nor NSM says how the flaw worked, so we read nothing more into the overlap. Kristiansen writes that this API “authenticates with a SharedAccessSignature token in the Authorization header, signed with the instance’s tenant access key,” bypasses Entra ID and Azure RBAC, and that its “calls aren’t recorded in the ARM Activity log.”
- Named values. The page lists three types: plain, secret (“encrypted by API Management”) and Key Vault. It says that “after update in the key vault, a named value in API Management is updated within four hours,” and that you can refresh it manually in the Azure portal or through the management REST API. So rotating a Key Vault secret may leave an instance using the old value for up to four hours unless the refresh is done by hand.
- Developer tier. It is one of the four classic tiers, so Developer-tier test instances are in scope. Customers who spoke to The Register warned that forgotten development and test instances could leave more organizations exposed.
What defenders can do
Everything below is our reading of the sources above; we mark where an instruction comes from NSM, Microsoft or Kristiansen.
Read the runtime version
NSM’s rule, in our translation: 0.52.x is patched if the last number is 31936 or higher, 0.53.x if it is 31938 or higher, lower numbers are still vulnerable, and other patterns such as 0.53.4608.0 belong to V2 or Consumption tiers where the threshold does not apply. The script applies only that rule. It compares the last number as an integer, because a string comparison calls 0.53.9999 patched.
# apim_version_check.py
"""apim_version_check.py
Reads an Azure API Management RuntimeVersion against the thresholds that Norway's NSM
published on 20 November 2026 (page updated 23 November). Only the rule NSM wrote down is applied:
0.52.x patched if the last number (x) is 31936 or higher
0.53.x patched if the last number (x) is 31938 or higher
lower still vulnerable
other patterns such as 0.53.4608.0 or 0.52.4150.0 belong to V2 or Consumption tiers,
where the threshold does not apply
This is not a Microsoft tool and it cannot see your instance. Run it on a value you read yourself.
python apim_version_check.py 0.53.31938
curl -s https://<your-gateway-hostname>/internal-status-0123456789abcdef | python apim_version_check.py
Exit status: 0 patched, 1 vulnerable, 2 no verdict from the threshold rule.
"""
import re
import sys
THRESHOLDS = {(0, 52): 31936, (0, 53): 31938}
DOTTED = r"[0-9]+(?:\.[0-9]+)+"
def find_version(text):
"""Return the dotted number after the word RuntimeVersion, or the text itself if it is one dotted number."""
m = re.search(r"RuntimeVersion\W{0,12}(" + DOTTED + ")", text, re.IGNORECASE)
if m:
return m.group(1)
bare = text.strip().strip("\"'")
return bare if re.fullmatch(DOTTED, bare) else None
def classify(version):
"""Return (verdict, reason) for a dotted version string."""
parts = [int(p) for p in version.split(".")]
if len(parts) == 3 and (parts[0], parts[1]) in THRESHOLDS:
need = THRESHOLDS[(parts[0], parts[1])]
if parts[2] >= need:
return "PATCHED", f"{parts[2]} >= {need}"
return "VULNERABLE", f"{parts[2]} < {need}"
if len(parts) == 4:
return "NO VERDICT", "four-part version: NSM says V2 or Consumption, threshold does not apply"
return "NO VERDICT", "pattern not in NSM's table"
def main(argv):
text = " ".join(argv) if argv else sys.stdin.read()
version = find_version(text)
if version is None:
print("no RuntimeVersion found in the input")
return 2
verdict, reason = classify(version)
print(f"{version} {verdict} ({reason})")
return {"PATCHED": 0, "VULNERABLE": 1}.get(verdict, 2)
if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))
We checked it against the boundary values of NSM’s rule and a few response shapes. The inputs are made up, built from the rule; the last line shows the string-comparison trap.
# selftest_apim.py
"""selftest_apim.py: check apim_version_check.py against the boundaries in NSM's published rule."""
from apim_version_check import classify, find_version
CASES = [
("0.52.31935", "VULNERABLE"),
("0.52.31936", "PATCHED"),
("0.52.31937", "PATCHED"),
("0.53.31937", "VULNERABLE"),
("0.53.31938", "PATCHED"),
("0.53.9999", "VULNERABLE"),
("0.53.100000", "PATCHED"),
("0.53.4608.0", "NO VERDICT"),
("0.52.4150.0", "NO VERDICT"),
("0.54.31940", "NO VERDICT"),
("1.2", "NO VERDICT"),
]
FINDS = [
('{"RuntimeVersion": "0.53.31938"}', "0.53.31938"),
("RuntimeVersion: 0.52.31935\n", "0.52.31935"),
("runtimeversion=0.53.31937", "0.53.31937"),
("0.53.31938\n", "0.53.31938"),
('"0.52.31936"', "0.52.31936"),
("Service Operational", None),
("", None),
]
failures = 0
print(f"{'version':<14}{'expected':<12}{'got':<12}reason")
for version, expected in CASES:
verdict, reason = classify(version)
ok = verdict == expected
failures += not ok
print(f"{version:<14}{expected:<12}{verdict:<12}{reason}{'' if ok else ' <-- WRONG'}")
print()
for text, expected in FINDS:
got = find_version(text)
ok = got == expected
failures += not ok
print(f"{text!r:<42} -> {got!r}{'' if ok else ' <-- WRONG'}")
print()
print("string comparison of 0.53.9999 >= 0.53.31938:", "0.53.9999" >= "0.53.31938", "(the numbers say False)")
print("failures:", failures)
raise SystemExit(1 if failures else 0)
version expected got reason
0.52.31935 VULNERABLE VULNERABLE 31935 < 31936
0.52.31936 PATCHED PATCHED 31936 >= 31936
0.52.31937 PATCHED PATCHED 31937 >= 31936
0.53.31937 VULNERABLE VULNERABLE 31937 < 31938
0.53.31938 PATCHED PATCHED 31938 >= 31938
0.53.9999 VULNERABLE VULNERABLE 9999 < 31938
0.53.100000 PATCHED PATCHED 100000 >= 31938
0.53.4608.0 NO VERDICT NO VERDICT four-part version: NSM says V2 or Consumption, threshold does not apply
0.52.4150.0 NO VERDICT NO VERDICT four-part version: NSM says V2 or Consumption, threshold does not apply
0.54.31940 NO VERDICT NO VERDICT pattern not in NSM's table
1.2 NO VERDICT NO VERDICT pattern not in NSM's table
'{"RuntimeVersion": "0.53.31938"}' -> '0.53.31938'
'RuntimeVersion: 0.52.31935\n' -> '0.52.31935'
'runtimeversion=0.53.31937' -> '0.53.31937'
'0.53.31938\n' -> '0.53.31938'
'"0.52.31936"' -> '0.52.31936'
'Service Operational' -> None
'' -> None
string comparison of 0.53.9999 >= 0.53.31938: True (the numbers say False)
failures: 0
Four runs from a shell, again on made-up values. The last one feeds it the plain text Microsoft documents for the public health path, which has no version:
$ python apim_version_check.py 0.53.31937
0.53.31937 VULNERABLE (31937 < 31938)
exit 1
$ echo '{"RuntimeVersion": "0.52.31936"}' | python apim_version_check.py
0.52.31936 PATCHED (31936 >= 31936)
exit 0
$ python apim_version_check.py 0.53.4608.0
0.53.4608.0 NO VERDICT (four-part version: NSM says V2 or Consumption, threshold does not apply)
exit 2
$ echo 'Service Operational' | python apim_version_check.py
no RuntimeVersion found in the input
exit 2
Run it only against gateways you own, which is the case NSM’s instruction addresses. If your gateway’s response looks different, pass the RuntimeVersion value as the argument. An exit status of 2 means the threshold rule gives no verdict, for example because the version has four parts or is not in NSM’s table, and the answer then has to come from Microsoft. We have not seen a real response from the status path, so the script looks only for the word RuntimeVersion followed by a dotted number.
Rotate, in an order that holds
- List every Classic-tier instance, Developer-tier test instances included.
- Switch off the direct management API where it is on. Microsoft’s retirement page says to disable it; Kristiansen says to set Enable Management REST API to No under Management API on every instance, and lists the tenant access keys among the things to rotate.
- Rotate what works outside APIM first: backend credentials, app registration secrets and the Key Vault secrets APIM references. Kristiansen’s reason is that someone who obtains such a credential “may be able to use it directly against the service it protects, outside APIM.”
- Then rotate APIM’s own subscription keys, identity provider and OpenID Connect client secrets, and named values. For Key Vault-backed named values, update the secret in Key Vault and then refresh the named value by hand rather than waiting up to four hours.
- Map what each instance can reach, as NSM asks, so that a hit in the logs can be sized.
Look for use, and know the blind spot
Kristiansen’s guide has Kusto queries for the Azure Activity log, APIM gateway and developer portal logs, Entra service principal sign-ins, Key Vault audit logs and Microsoft Graph activity. He writes that “my lab has no APIM instance,” so check each query in your own workspace before you rely on it; we ran none of them. He also says calls to the direct management API are not recorded in the Activity log, so an empty Activity-log result says little about whether that door was used. His own closing line is the one to keep: “A runtime fix can’t undo what may already have been exposed.”
What we could not verify
- Microsoft’s notice itself. Reddit gave our fetch a human-verification page, so we rely on The Register’s and SecurityWeek’s quotations, which agree on the main sentence and differ in how they paraphrase the rest.
- What the flaw is, when exploitation began, how many customers were affected, and whether the Equinor and Skagerak Energi intrusions ran through APIM. NSM names both companies; their own statements do not mention Azure.
- Whether any instance below NSM’s thresholds is still unpatched. We have no APIM instance and sent nothing to any gateway. The thresholds appear only on NSM’s page as far as we could find, and we saw no Microsoft page that lists them.
- Kristiansen’s queries, which he says he did not validate against a live APIM instance, and his statements about the direct management API’s logging.
- Whether the direct management API tokens on Microsoft’s list have anything to do with the mechanism. We note only that the API is a Classic-tier feature.
- The Praetorian and Bountyy sign-up research that Kristiansen cites; NSM has not said a developer portal was involved.
Sources read
- NSM, NSM deler tiltak mot sårbarhet i Azure API Management (published November 20, updated November 23; Norwegian)
- Equinor, Cyber-attack stopped (four dated updates, November 17 to 20), and Skagerak Energi, Skagerak Energi utsatt for forsøk på cyberangrep (November 18; Norwegian)
- The Register, Norway links energy firm cyberattacks to critical Azure API Management flaw (November 23, 12:29 UTC), and SecurityWeek, Azure Flaw Exploited to Target Secrets at Norwegian Energy Firms (November 23, 10:47 ET)
- Anders Kristiansen, Azure API Management advisory: what to check and how to hunt after recent attacks (November 21)
- Microsoft Learn: direct management API retirement, named values, v2 tiers, the APIM security baseline, tracing an API and the Application Gateway integration page that documents the public health path
- The NVD API keyword search and Microsoft’s November 2026 CVRF file, checked for an APIM entry; Microsoft Threat Intelligence, Threat actors use agentic AI tooling to find and abuse exposed secrets (November 5)
- The Record, Cyberattack hits Norwegian energy giant Equinor (November 18)
- Our earlier reports on a similar leaked-credential disclosure, Rackspace Spot, and on a Microsoft notice with no count, Entra Connect Health








No Comment! Be the first one.