Andreas Wolter
  • Consulting & Services
    • SQL Server Security Assessment by Andreas Wolter
    • SQL Server Health Check
    • Performance Analysis
    • SQL Server Discovery
    • Air-Gapped SQL Server
  • My Customers
  • About
    • Conferences
    • Certifications
    • Training
  • Blog
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

New Permissions in SQL Server 2025

New Permissions in SQL Server 2025

This article provides a brief overview of the new permissions introduced with SQL Server 2025 and the few adjustments to existing ones.

Overall, the changes are subtle – which is not surprising. The past couple of years have focused heavily on SQL Database in Fabric, Entra ID integration, and incremental improvements rather than major changes to the core permission model.

All newly introduced permissions are tied to new functionality. The underlying permission model itself remains unchanged since its last significant evolution in SQL Server 2022.

If you haven’t explored those changes yet, I recommend revisiting:

  • New granular permissions for SQL Server 2022 and Azure SQL to improve adherence with PoLP
  • Revamped SQL Permission system for Principle of Least Privilege and external policies – internals

New Permissions in SQL Server 2025

The following permissions have been introduced:

Class Permission name Covering permission name Parent class Parent covering permission name
DATABASE CREATE EXTERNAL MODEL ALTER ANY EXTERNAL MODEL SERVER CONTROL SERVER
DATABASE ALTER ANY EXTERNAL MODEL CONTROL SERVER CONTROL SERVER
DATABASE ALTER ANY EXTERNAL MIRROR CONTROL SERVER CONTROL SERVER
DATABASE ALTER ANY INFORMATION PROTECTION CONTROL SERVER CONTROL SERVER
EXTERNAL MODEL VIEW DEFINITION CONTROL DATABASE VIEW PERFORMANCE DEFINITION
EXTERNAL MODEL ALTER CONTROL DATABASE ALTER ANY EXTERNAL MODEL
EXTERNAL MODEL TAKE OWNERSHIP CONTROL DATABASE CONTROL
EXTERNAL MODEL EXECUTE CONTROL DATABASE EXECUTE
EXTERNAL MODEL CONTROL DATABASE CONTROL

What’s worth noting here is consistency:

The distinction between reading metadata and modifying objects is applied cleanly.

We see:

  • VIEW DEFINITION → read metadata
  • ALTER → modification
  • CONTROL → full ownership

This aligns with the model introduced in SQL Server 2022 and continues to support a structured approach to Principle of Least Privilege (PoLP).

Important New Behavior: EXECUTE Covers AI Models

One detail that can easily be overlooked:

Anyone with EXECUTE permission at the database level can execute AI models (if they exist).

Those of you using a custom db_executor-role, keep that in mind.

If you grant:

GRANT EXECUTE TO db_executor;

You are now also granting access to external AI models. And there is no simple way to exclude those objects.

I really wish Microsoft would introduce object-type granularity. That would also help for view-based access.

There is at one small mitigating factor:
To actually use the model, REFERENCE permission on the associated credential is also required.

Did I say execute?

Technically, to use external models in SQL Server 2025, you use SELECT with a function:

SELECT AI_GENERATE_EMBEDDINGS(N’Test’ USE MODEL MyAzureOpenAIModel);

…

Changes to Existing Permissions

There are a few minor adjustments to existing permissions:

VIEW PERFORMANCE DEFINITION and VIEW SECURITY DEFINITION cover additional objects.

For example: Availability Group metadata is now available with VIEW PERFORMANCE DEFINITION

These are incremental improvements and only noticeable in specific scenarios.

One more change, that was implemented with SQL Server 2025 CU1

DBCC STACKDUMP now requires sysadmin-membership. Previously, ALTER SERVER STATE was sufficient.

This change slightly reverses progress toward least-privilege operations.

Instead of using targeted permissions such as:

  • VIEW SERVER SECURITY STATE
  • VIEW SERVER PERFORMANCE STATE
  • Extended Events permission

…you need full sysadmin-membership for certain (admittedly rare) troubleshooting scenarios.

As a result, the number of commands that require sysadmin, documented here: The challenges for least privilege: When sysadmin is still required in Microsoft SQL Server – grows by one more item.

The bigger issue IMHO is the boundary this removes:

How so?
– Whoever initiates the stack dump will also need access to the file system to retrieve it.
In theory, this could be handled via separation of duties (a separate person with File-System access).
In practice, once someone is sysadmin, that same person can also enable xp_cmdshell, access the file directly, and move beyond SQL Server scope.
In other words, what started as a troubleshooting task within SQL Server can easily extend into the operating system layer.

That is why I would prefer a dedicated permission – something like:

GRANT CREATE DUMP TO Login

All in all, the changes are subtle. What matters, is how they play out in real environments. And that we shall see 🙂

Andreas

Links to concepts explained in this article:

Using Extended Events for Tracing SQL Server and Azure SQL DB in compliance with Principle of Least Privilege – Example role separation

New granular permissions for SQL Server 2022 and Azure SQL to improve adherence with PoLP

Principle of Least Privilege (POLP)

Not sure which of these permissions fit your environment? I help you replace broad rights like sysadmin and CONTROL SERVER with granular permissions where they are enough.

Get Help with Permissions
Share article
  • Share on Facebook
  • Share on X
  • Share on LinkedIn
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Security Assessment Community Edition

Learn about my free Community Edition script.

Recent
  • Sample result in SSMS: local NTLM connections over shared memory from SQL01, and NTLM connections over TCP from a reporting server, an ETL server and a workstation
    NTLM Deprecation and SQL Server: How to Find NTLM Connections...18. November 2026 - 17:01in: Security
  • SQL Server Consolidation: $3M+ in Projected Savings and...30. September 2026 - 15:47in: Architecture & High Availability, Security
  • Using a Database Server as a Honeypot for Threat Detect...18. September 2026 - 16:00in: Security
  • Azure Arc for SQL Server: “Least Privilege” Mode Still...8. September 2026 - 15:56in: Security
  • When SIEM Enrichment Becomes False Attribution3. September 2026 - 14:26in: Security
Comments
  • Thanks Scott. Goof feedback. NETSTAT is a useful addition,...21. November 2026 - 15:44 by Andreas Wolter
  • I would go a little deeper with how to troubleshoot SQL...21. November 2026 - 15:15 by Scott O
  • Protecting database data at rest is essential for maintaining...21. October 2026 - 2:23 by Viska
  • Thanks Now Microsoft could document them as well, and put...19. August 2026 - 16:26 by Andreas Wolter
  • List of Action_IDs for Filter https://sqlquantumleap.com/reference/server-audit-filter-values-for-action_id/ Great...18. August 2026 - 0:59 by Peter Dünsch

Articles

Analysis Services Auditing Availability Groups Azure Best Practices Certification Columnstore Consolidation Deadlocks & Blocking Encryption Extended Events Get-SqlSafe In-Memory OLTP Indexing Least Privilege PASS Summit Patching Performance Analysis Permissions Privilege Escalation Reporting Services Security Principles Spatial Data SQLBits SQL Injection SQLSaturday SQL Server 2012 SQL Server 2014 SQL Server 2016 SQL Server 2022 SQL Server 2025 SQL Trace & Profiler sysadmin & Server Roles Threat Detection Vulnerabilities Workshop & PreCon
© 2026 Andreas WolterContactImprintPrivacy PolicyLinkedInRSS
Link to: I’m Teaching a Full-Day SQL Server Security PreCon at PASS Summit East (Chicago) Link to: I’m Teaching a Full-Day SQL Server Security PreCon at PASS Summit East (Chicago) I’m Teaching a Full-Day SQL Server Security PreCon at PASS Summit East (C... Link to: SQL Server Privilege Escalation via DatabaseManager-role: Newly discovered Attack Paths Explained Link to: SQL Server Privilege Escalation via DatabaseManager-role: Newly discovered Attack Paths Explained SQL Server Privilege Escalation via DatabaseManager-role: Newly discovered Attack...
Scroll to top Scroll to top Scroll to top
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}