diff --git a/UPGRADE-5.1.md b/UPGRADE-5.1.md
index e61de91734..169f5b683d 100644
--- a/UPGRADE-5.1.md
+++ b/UPGRADE-5.1.md
@@ -61,6 +61,25 @@ Routing
* Added argument `$priority` to `RouteCollection::add()`
* Deprecated the `RouteCompiler::REGEX_DELIMITER` constant
+Security
+--------
+
+ * Deprecated `ROLE_PREVIOUS_ADMIN` role in favor of `IS_IMPERSONATOR` attribute.
+
+ *before*
+ ```twig
+ {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
+ Exit impersonation
+ {% endif %}
+ ```
+
+ *after*
+ ```twig
+ {% if is_granted('IS_IMPERSONATOR') %}
+ Exit impersonation
+ {% endif %}
+ ```
+
Yaml
----
diff --git a/UPGRADE-6.0.md b/UPGRADE-6.0.md
index 8df8c5e144..36eb66645d 100644
--- a/UPGRADE-6.0.md
+++ b/UPGRADE-6.0.md
@@ -49,3 +49,8 @@ Routing
* Removed `RouteCollectionBuilder`.
* Added argument `$priority` to `RouteCollection::add()`
* Removed the `RouteCompiler::REGEX_DELIMITER` constant
+
+Security
+--------
+
+ * Removed `ROLE_PREVIOUS_ADMIN` role in favor of `IS_IMPERSONATOR` attribute