Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› What breaks when PII is encrypted only at…
Cyber Security

What breaks when PII is encrypted only at rest?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 8, 2026 Domain: Cyber Security

At-rest encryption still leaves plaintext available wherever the application, analytics job, or engineer can query and decrypt it. That means the storage layer looks protected while the real exposure persists in the application path, exports, and support workflows. Governance has to move to the decryption boundary, not stop at the disk.

What actually breaks when encryption stops at the storage layer?

At-rest encryption protects a disk or database file, but it does not protect the places where an application must still see plaintext to do useful work. That means the effective trust boundary shifts upward into the application, analytics, export, and support layers. If you only secure the storage layer, you have protected persistence, not processing.

The practical break is not usually “can someone read the disk”; it is “who can reach decrypted data once the system is running?” Any component with query, export, debug, or administrative access may expose the same PII the storage layer was meant to hide. In practice, this is why identity data privacy and consent governance has to follow the data into the decryption boundary, not stop at encryption policy.

Why the application path becomes the real exposure point

Encryption at rest mainly changes what happens if storage media is stolen, copied, or mounted offline. It does not prevent a live service from decrypting records for search, reporting, reconciliation, customer support, or fraud review. Once the application can see plaintext, every downstream function that inherits that access becomes part of the exposure surface.

That is why security design has to distinguish between protected storage and protected use. A database column can be encrypted and still be broadly exposed through application queries, ETL jobs, feature stores, backups, and ad hoc support tooling. The question is not whether PII is encrypted somewhere, but whether the system can limit, log, and justify each decryption event.

Governance also changes. Controls such as business need, approval, segregation of duties, and break-glass handling belong around the point where data is decrypted or exported, because that is where misuse becomes possible. If those controls live only around the disk, they miss the operational path that actually handles the data.

What this means for controls, exports, and support workflows

Once PII is decrypted for a live workflow, the main control problem becomes access shaping, not storage hardening. A secure design should ask which services, jobs, and people can invoke decryption, under what conditions, and whether the result can be copied into logs, tickets, spreadsheets, or analytics outputs. That is where many “encrypted” environments fail in practice.

For data movement, the same rule applies to exports and extracts. If a report, queue, or support case can emit plaintext PII, then encryption at rest has already finished doing its job and the remaining risk is in distribution and retention. Current guidance is to treat those paths as separate protection domains, with their own authorization, masking, auditability, and retention limits.

At the API layer, access should be evaluated around the operation that returns decrypted data, not only around the underlying record store. Teams that use APIs to fetch customer records should review whether object access, function access, and export endpoints are constrained tightly enough to prevent bulk disclosure. The OWASP API Security Top 10 is useful here because broken authorization and unrestricted access often show up exactly at the point where plaintext leaves a protected store.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack surface, NIST SP 800-53 Rev 5 and OWASP ASVS set the technical controls, and ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeDecryption access must be limited to the minimum roles and services that need plaintext.
AU-2 — Event LoggingPII decryption and export events need auditability at the use boundary.
Recommendation — Restrict plaintext access to the smallest set of roles, services, and break-glass paths. Log decryption, export, and privileged data-access events with sufficient detail for review.
ISO/IEC 27001:2022A.8.24 — Use of cryptographyEncryption must be governed as part of how data is protected in use, not only at rest.
Recommendation — Apply cryptography controls alongside masking, access control, and data-handling rules.
OWASP ASVSV8 — AuthorizationApplications that return decrypted PII need authorization checks on the data-use path.
Recommendation — Enforce object and function authorization at every endpoint that can reveal plaintext.
OWASP API Security Top 10API1 — Broken Object Level AuthorizationPII exposure often happens when API object access is broader than intended.
Recommendation — Verify object-level checks on every API call that can return personal data.

Practitioner Guidance

What to verify: Confirm where plaintext first appears, which identities or services can reach it, and whether those access paths are bounded by role, purpose, and logging. If a support analyst, analytics job, or application service can retrieve the same data in clear form, treat that as the real control boundary.

What to prioritise: Protect the decryption path before you tune storage encryption. Masking, scoped access, audited exports, and short-lived decryption privileges usually reduce exposure more than another layer of disk encryption.

Common mistake: Treating successful at-rest encryption as evidence that PII is “secured.” The safer test is whether a normal business workflow can still reveal more data than it needs.

Practitioner takeaway: If plaintext exists anywhere a live system, job, or human can query it, then the security problem has moved from storage protection to access governance at the point of use.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 8, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org