Microsoft fixes Entra ID flaw enabling privilege escalation


Microsoft fixes Entra ID flaw enabling privilege escalation

Pierluigi Paganini
April 28, 2026

Microsoft fixed a Microsoft Entra ID flaw where the Agent ID Administrator role could enable privilege escalation and account takeover.

Microsoft addressed a flaw in Microsoft Entra ID that could let attackers take over service accounts. The issue involved the Agent ID Administrator role, which manages AI agent identities and access, and could be abused for privilege escalation.

Microsoft’s Agent Identity Platform lets AI agents have identities in Microsoft Entra ID, managed by the Agent ID Administrator role. Researchers found this role could take over any service principal by assigning ownership and adding credentials, enabling full compromise and privilege escalation. Microsoft fixed the issue, restricting the role to only agent-related objects.

“We discovered that accounts with only the Agent ID Administrator role could take over arbitrary service principals – including ones that have nothing to do with agent identities – by becoming owner, then adding credentials and authenticating as that principal. That’s full service principal takeover. In tenants where high-privileged service principals exist, it becomes a privilege escalation path.” reads the report published by Silverfort. “While the Agent ID Administrator role isn’t yet widely used, most tenants have at least one privileged service principal. We also observed that many tenants already use agent identities, sometimes at significant scale. As adoption of the Agent ID Administrator role grows, this scope gap could become a meaningful identity security risk. “

Microsoft introduced Agent ID in Microsoft Entra ID to manage AI agents as identities, with objects like blueprints, agent identities, and agent users. These rely on standard directory components such as service principals. The Agent ID Administrator role was meant to manage only agent-related objects, but researchers found it could take ownership of any service principal, enabling credential injection and full takeover. This created a privilege escalation risk, especially since the role wasn’t clearly marked as privileged in the UI. The issue stemmed from a scoping gap between agent and standard identities. Microsoft has since fixed the flaw, blocking such actions.

The flaw enabled full service principal takeover, a powerful attack path. By gaining ownership, an attacker could add credentials and authenticate as that identity, inheriting all its permissions, such as API access, integrations, or even directory-level roles. The impact depends on how privileged the targeted service principal is, but in many environments, this can lead to serious escalation.

Before the fix, the Agent ID Administrator role in Microsoft Entra ID could take ownership of non-agent service principals, effectively granting capabilities similar to high-privilege roles. If the targeted service principal had admin rights or sensitive Graph permissions, attackers could fully compromise it.

This risk is significant because most organizations already have privileged service principals, and many also use agent identities. As adoption of the role grows, the likelihood of exploitation increases, making the issue a critical identity security concern.

The researchers published a video PoC for this flaw, where the researchers find a privileged service principal, take it over, and then sign in.

Microsoft fixed the issue, but it highlights a key lesson: new identity models, like those in Microsoft Entra ID, often rely on existing components, which can create unintended permission gaps. Here, weak scoping allowed broader access than intended, especially risky in environments with privileged service principals.

The problem was hard to detect because ownership changes can look like normal admin activity, roles weren’t clearly marked as highly privileged, and no alerts flagged out-of-scope actions.

To reduce risk, organizations should closely monitor sensitive roles, track service principal ownership and credential changes, and treat privileged service principals as critical assets. This case reinforces the need to validate role permissions and continuously audit identity controls.

Before the disclosure timeline:

  • April 9, 2026 – MSRC has confirmed the fix has been fully rolled out
  • February 24, 2026 – Vulnerability identified
  • March 1, 2026 – Report submitted to Microsoft (MSRC)
  • March 3, 2026 – Case opened by Microsoft
  • March 26, 2026 – Microsoft confirmed the behavior
  • April 4, 2026 – Fix reached pre-release stage and the behavior was no longer reproducible

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, Microsoft)







Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Serials have become the backbone of the streaming era, especially on Netflix. Serialized television is when a show’s plot unfolds in sequential order over the course of a season. It’s long-form storytelling that typically works best with dramas—Stranger Things, The Crown, etc. Watching the episodes in release order matters. Often, these shows are binged because the complex character arcs and cliffhangers encourage streaming multiple episodes at once.

Serial shows can feel like homework, especially when you fall behind on an episode and need to catch up. That always happens to me, and it leads to anxiety I didn’t want. Thankfully, Netflix offers shows where viewers can jump at any time and not feel lost. These episodic series are perfect for jumping around and picking the episodes you want to watch. One of the most famous comedies ever fits the criteria of an episodic sitcom. Anthology shows, including a Netflix sci-fi classic, are also ideal for watching episodes out of order.

Black Mirror

Welcome to your worst nightmare

Black Mirror wants to scare you. Charlie Brooker’s sci-fi anthology series has been warning humanity about the dangers of technology since 2011. It seems like ages ago that Rory Kinnear had sexual intercourse with a pig in the first episode. Apologies for the spoiler, but the media’s role in the spread of misinformation has never been more relevant.

Black Mirror features self-contained episodes with a beginning, middle, and an end. There has only been one direct sequel: USS Callister: Into Infinity, a season 7 episode that continues the events of season 4’s USS Callister. Otherwise, feel free to jump around and check out the best episodes of each season. Since most episodes feature bleak endings, I’ll leave you with one that ends on an upbeat note: San Junipero.

Seinfeld

Greatest comedy ever?

Comedies are the perfect vehicle for episodic storytelling. While having an overarching plot throughout a season helps attract viewers, many comedy fans are just looking for a few laughs. Write a self-contained story with numerous jokes over 20 to 30 minutes, and you’re ready to go. Seinfeld, aka the show about nothing, is the ideal escape from serialized dramas.

Seinfeld stars Jerry Seinfeld as a fictionalized version of himself as he navigates the comedic scene in New York City. The show revolves around Jerry’s interactions with his friends George (Jason Alexander), Elaine (Julia Louis-Dreyfus), and Kramer (Michael Richards). The gang faces a problem, hilarity ensues, and the episode ends. That’s really all you need to know. Enjoy the laughs.

Guillermo del Toro’s Cabinet of Curiosities

The genre maestro curates new horror stories

There’s a reason why Guillermo del Toro is considered the “King of the Monsters.” The genre expert is as elite as it comes when dealing with mythology and creating new worlds. The Oscar winner relied on his horror expertise in the anthology series Guillermo del Toro’s Cabinet of Curiosities.

I hate referring to episodes of television as “mini-movies.” However, that’s how I would describe the eight episodes of Cabinet of Curiosities. Each director puts their own signature style on a story and brings audiences into their terrifying creation. Del Toro wrote two of the episodes, including one about a demon being summoned. Some are scarier than others, but horror fans will feel right at home with this series. ​​​​​​​

Beat Bobby Flay

Bobby brings the heat

As I’ve gotten older, the Food Network has become one of my favorite channels. I mean, who doesn’t love food? I love eating my (average) home-cooked meal while watching contestants duke it out in the kitchen on my favorite show, Beat Bobby Flay. The competition breaks down into two rounds. In the first round, two chefs have 20 minutes to construct a meal using a secret ingredient. The winner advances to the main event, where they face off against Bobby Flay.

The challenger gets to pick the dish for the final round, so Bobby has a disadvantage. However, Bobby is an award-winning chef with a few tricks up his sleeves. He can handle making a version of your grandmother’s lasagna. With episodes available on Netflix, be prepared to learn why Bobby always throws chiles into his dishes.​​​​​​​

S.W.A.T.

Broadcast TV still knows how to make entertaining programs

The procedural is a genre best produced on broadcast television. Name a cop, doctor, or law drama—chances are it’s a procedural on broadcast TV. While the way we watch television has changed, people still love these types of shows on CBS, NBC, Fox, and ABC. Law & Order, NCIS, and Criminal Minds are procedurals that gained a bigger following thanks to streaming.

S.W.A.T. is cut from the same cloth as Chicago P.D. and CSI. Sergeant Daniel “Hondo” Harrelson (Shemar Moore) is tasked with leading a new S.W.A.T. unit in the LAPD. This action-packed show utilizes a “case of the week” formula in which the team must solve a dangerous situation, such as active shooters and hostage situations. You’re in and out in 44 minutes. What’s better than that?​​​​​​​


Netflix has more content coming your way

After you’re done watching these shows, stay on Netflix for more top-notch content. Netflix has an entire section dedicated to thrillers, and this week, The Guilty and El Camino are two of the section’s best. Keep an eye out for new movies, like Alan Ritchson’s War Machine, which is currently in the streamer’s top 10.

Subscription with ads

Yes, $8/month

Simultaneous streams

Two or four




Source link